Skip to main content

Variable: Label

@arolariu/components


@arolariu/components / Label

Variable: Label

const Label: ForwardRefExoticComponent<LabelProps & RefAttributes<HTMLLabelElement>>

Defined in: components/ui/label.tsx:36

An accessible text label for form controls and field groups.

Remarks

Rendering Context: Client Component.

Renders a styled <label> element that pairs naturally with form inputs through htmlFor. Use it to provide clear, clickable context for interactive controls.

Example

<Label htmlFor="email">Email address</Label>

See

Base UI Label docs

// was this page useful?