Components
Loading preview...
A selectable control for binary choices, form options, indeterminate states, labels, and validation messaging.
npx shadcn@latest add https://21st.dev/r/hero_ui/heroui-checkbox"use client";
import { Checkbox, Description, Label } from "@/components/ui/heroui-checkbox";
export default function WithDescriptionDemo() {
return (
<div className="flex min-h-screen w-full items-center justify-center overflow-hidden bg-background p-8">
<Checkbox id="description-notifications">
<Label>Email notifications</Label>
<Description>Get notified when someone mentions you in a comment</Description>
</Checkbox>
</div>
);
}
export { WithDescriptionDemo };