UNPKG

laif-ds

Version:

Design System di Laif con componenti React basati su principi di Atomic Design

29 lines (19 loc) 450 B
# Label ## Overview Accessible label component built on Radix Label with default spacing and disabled styles. --- ## Props Extends `@radix-ui/react-label` Root props. --- ## Example ```tsx import { Label, Input } from "laif-ds"; export function LabeledInput() { return ( <div className="grid gap-2"> <Label htmlFor="email">Email</Label> <Input id="email" type="email" placeholder="you@example.com" /> </div> ); } ```