- Components
- Forms
Label
Form label at 14px. Dims with disabled controls.
Installation#
npx shadcn add @ortaui/labelExamples#
With a control#
API reference#
| Prop | Type | Default | Description |
|---|---|---|---|
| htmlFor | string | - | Id of the control it labels. |
| className | string | - | Merged with the component classes via cn(). |