Label

Renders an accessible label associated with controls.

Loading...
Loading code...

Installation

pnpm dlx shadcn@latest add @uitopia/label

Usage

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

Examples

For accessible labelling and validation, prefer using the FieldLabel component. See some related examples.

With Checkbox

Loading...
Loading code...