Components
Loading preview...
Displays a label element with enhanced styling and accessibility features for form controls.
npx shadcn@latest add https://21st.dev/r/preetsuthar17/labelimport { Label } from "@/components/ui/label";
import { Input } from "@/components/ui/input"
export default function DemoOne() {
return (
<div className="grid w-full max-w-sm items-center gap-1.5">
<Label htmlFor="email">Email</Label>
<Input id="email" type="email" placeholder="Enter your email" />
</div>
);
}