Input
A component that displays an input field, usually for forms
Preview
Attributes
Property | Description | Attribute | Type | Default |
---|---|---|---|---|
label | The label of the input field If no label is provided, the placeholder will be used as label | label | string | required |
type | The type of the input field | type | string | "text" |
placeholder | The placeholder of the input field | placeholder | string | required |
value | The value of the input field | value | string | "" |
disabled | Disables the input field | disabled | boolean | false |