Primitives
Label
Standalone form label element — used when a label must be decoupled from its input
import { Label } from '@amezquita/design-system/components/primitives/Label'Live render
Props
| Prop | Type | Description |
|---|---|---|
htmlFor? | string | |
required? | boolean | |
disabled? | boolean | |
children | React.ReactNode | |
className? | string |
Usage example
<Label
htmlFor="demo"
>Email address</Label>