Get started
Fabricator UI

Search documentation

Search pages, components, blocks, styles and colours.

Label

PreviousNext

Renders an accessible label associated with controls.

Installation

bunx --bun fabricator-ui@latest add label

Usage

import { Label } from "@/components/ui/label"
<Label htmlFor="email">Your email address</Label>

Label in Field

For form fields, use the Field component which includes built-in FieldLabel, FieldDescription, and FieldError components.

<Field>
  <FieldLabel htmlFor="email">Your email address</FieldLabel>
  <Input id="email" />
</Field>
Payment Method

All transactions are secure and encrypted

Enter your 16-digit card number

Billing Address

The billing address associated with your payment method

API Reference

See the Radix UI Label documentation for more information.