Input
A styled text input with support for various types, error states, and browser feature control.
Interactive Playground
Input
Try different types and states
Value:
(empty)Props
| Prop | Type | Default | Description |
|---|---|---|---|
value | string | '' | Input value (bindable) |
type | string | 'text' | HTML input type |
placeholder | string | - | Placeholder text |
disabled | boolean | false | Disable the input |
required | boolean | false | Mark as required |
error | boolean | false | Show error state |
disableBrowserFeatures | boolean | false | Disable autocomplete/autocapitalize |
oninput | function | - | Input event handler |
onchange | function | - | Change event handler |