Label
Form field label. Supports required indicator and description.
Preview
Usage
import { Label } from '@ramtt/ui'
<Label htmlFor="ftp" required>FTP</Label>
<Label description="Your functional threshold power">FTP</Label>Props
| Prop | Type | Default | Description |
|---|---|---|---|
| htmlFor | string | — | Associated input ID |
| required | boolean | — | Show required indicator |
| description | string | — | Help text below label |
| children* | ReactNode | — | Label text |