8.7k

Label

Renders an accessible label associated with controls.

Installation

pnpm dlx shadcn@latest add @coss/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

Component checkbox-demo not found in registry.

coss.com ui

Built by and for the team of Cal.com, Inc. — the leading commercial open source company (“coss”).