kosori

Label

A label names a form control.

Label renders a <label> and marks it with data-slot.

Installation

npx shadcn@latest add @kosori/label

Example

label-example.tsx
label-example
import { Label } from '@/components/ui/label';

const LabelExample = () => (
  <Label htmlFor='kosori-terms'>Accept terms and conditions</Label>
);

export default LabelExample;

On this page