<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
| Prop | Type | Default | Description |
|---|---|---|---|
value | string? | — | Controlled value |
placeholder | string? | — | Placeholder text |
type | 'text' | 'email' | 'password' | 'number' | 'tel' | 'url' | 'text' | Input type |
disabled | boolean? | false | Disable the input |
name | string? | — | Form field name |
onChange | (event: ChangeEvent) => void | — | Change handler |