Label

Renders an accessible label associated with controls.

Installation

npx love-ui@latest add 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