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 } from "@/components/ui/heroui-checkbox";
export default function WithLabelDemo() {
return (
<div className="flex min-h-screen w-full items-center justify-center overflow-hidden bg-background p-8">
<Checkbox id="label-marketing">Send me marketing emails</Checkbox>
</div>
);
}
export { WithLabelDemo };