Label
Form label with size variants
Accessibility
- Pair the control with a visible label or aria-label and keep helper or error text programmatically associated.
- Provide native name, autocomplete, and value wiring when the component participates in form submission.
Styled quick start
Copy this entrypoint first. It includes the imports required to get the component on screen.
Import options
Root package
ts
import { Label } from '@dryui/ui' Per-component subpath
ts
import { Label } from '@dryui/ui/label' API
Props, CSS variables, and the public data attributes you can target when styling.
| Prop | Type | Description | Default | Required | Bindable |
|---|---|---|---|---|---|
| size | smmdlg | Size preset affecting density, spacing, or typography. | 'md' | — | — |
| children | Snippet | Content rendered inside the component. | — | ✓ | — |