Form field label with required indicator.
import { Label } from "@/components/ui";<Label htmlFor="email">Email</Label>Show required indicator
<Label htmlFor="name" required>Name</Label>Complete form field
<div className="space-y-2"> <Label htmlFor="email" required>Email Address</Label> <Input id="email" type="email" placeholder="you@example.com" /></div>Configure your app with the features you need and download production-ready code.
Start Configuring