Auxx.ai

<Input />

Text input field component for Auxx app dialogs.

A single-line text input for collecting user input.

import { Input } from '@auxx/sdk/client'

<Input placeholder="Enter your name" />
<Input type="email" placeholder="[email protected]" />
<Input type="number" value={count} onChange={(e) => setCount(e.target.value)} />

For form-based inputs with validation, use FormField instead.

Props

PropTypeDefaultDescription
valuestring?Controlled value
placeholderstring?Placeholder text
type'text' | 'email' | 'password' | 'number' | 'tel' | 'url''text'Input type
disabledboolean?falseDisable the input
namestring?Form field name
onChange(event: ChangeEvent) => voidChange handler

On this page