Label
A form <label>. Prefer FormField, which renders Label for
you and wires it to the control — use Label directly for custom form layouts.
import { Label, TextInput } from '@gg-software/ui';
<Label htmlFor="email-input" required>
Email
</Label>
<TextInput id="email-input" type="email" placeholder="you@example.com" />Props
| Prop | Type | Default | Description |
|---|---|---|---|
children* | ReactNode | — | content rendered inside the component |
htmlFor | string | — | |
required | boolean | false | |
disabled | boolean | false | |
className | string | — |
* required · generated from packages/ui/src/typography/Label/Label.tsx