Label
Renders an accessible label associated with controls.
Installation
pnpm add @heyramzi/ui bits-uiUsage
import { Label } from "@heyramzi/ui/shadcn/label";API reference
refbindableHTMLElement | null- Default
null classstring...rest- Every prop of
Label.Rootfrombits-ui
| Prop | Type | Default |
|---|---|---|
ref bindable | HTMLElement | null | null |
class | string | |
...rest | Every prop of Label.Root from bits-ui | |