Label And Input
Type variations
Dark theme variations
Defines the appearance on dark mode.
List of arguments for label and input
| Argument | Type | Description | Possible Values |
|---|---|---|---|
| type | string | Defines the label of the field (mandatory even if label is hidden). | text, number, tel, mail, password |
| label | string | Defines the label of the field (mandatory even if label is hidden). | — |
| label-slug | string | Defines the label that will be used for the 'name', the 'for' and the 'id' attributes linking the label and the input. | — |
| theme | string | Specifies the theme of the component. | light, dark |
| size | array | Defines the size of the component. | default, small |
| placeholder | string | Defines the placeholder. | — |
| custom-attributes | string | Defines any other attributes added to the input (ex: pattern). | — |