Form controls
Label
The same label every kit field draws, in sentence case at the body size. Use it for a control that
brings no label of its own. Pair with for + a matching id on the field.
Basic
Required + hint
API
| Prop | Type | Default | Description |
|---|---|---|---|
for | string | no default | Native for attribute. Match it to the field id. |
required | boolean | false | Render a red asterisk after the label. |
hint | string | no default | Inline hint shown after the label in faint text. |
class | string | no default | Extra classes on the label. |
children required | Snippet | no default | Label content. |