About
A labeled checkbox input that supports a hint line and a visually distinct indeterminate (partially-checked) state for group selections.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Checkbox to your project and fits it to your theme.
Code
How Checkbox is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import Checkbox from "@/components/ui/checkbox";
export default function CheckboxDemo() {
return (
<div style={{ display: "flex", flexDirection: "column", gap: "12px" }}>
<Checkbox label="Email me when a candidate replies" defaultChecked />
<Checkbox
label="Share the shortlist with my team"
hint="Everyone in the workspace can then open it."
/>
<Checkbox label="Some regions selected" indeterminate />
<Checkbox label="Locked by the workspace owner" disabled defaultChecked />
</div>
);
}
















