Input
Markdown for agentsA text input field with support for various input types and standard HTML input attributes.
npx slipstream-ui@latest add inputTypes
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| type | string | 'text' | HTML input type |
| placeholder | string | undefined | Placeholder text |
| disabled | boolean | false | Disables the input |
| required | boolean | false | Marks input as required |
Accessibility
- Full keyboard navigation support
- Screen reader announces input type and placeholder
- Disabled state is properly announced
- Visible focus indicator for keyboard users
- Supports HTML5 validation attributes