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 DefaultSelectedDemo() {
return (
<div className="flex min-h-screen w-full items-center justify-center overflow-hidden bg-background p-8">
<Checkbox defaultSelected id="default-notifications">
Enable email notifications
</Checkbox>
</div>
);
}
export { DefaultSelectedDemo };