Input
A text input with label, error state, and disabled support.
Installation
rubics add inputUsage
Basic
With Label
With Error
Props
| Name | Type | Default | Description |
|---|---|---|---|
| label | string | - | Label above input |
| error | string | - | Error message below input |
| disabled | boolean | false | Disables the input |
| placeholder | string | - | Placeholder text |
9:41
Form
you@example.com
••••••••
johndoe
Already taken