Label
Accessible form label built on Radix Label. Automatically associates with inputs via htmlFor.
Import
import { Label } from "poyraz-ui/atoms";Default
Basic label paired with an input.
<Label htmlFor="username">Username</Label>
<Input id="username" placeholder="Enter username" />Required
Indicate required fields with a visual marker.
<Label htmlFor="email">
Email <span className="text-red-600">*</span>
</Label>
<Input id="email" placeholder="hello@example.com" />