About
A native checkbox input styled with Material 3 Expressive's container, outline, checkmark and state-layer motion, supporting controlled/uncontrolled and indeterminate states.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Material 3 Checkbox to your project and fits it to your theme.
Code
How Material 3 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 className="flex min-h-[240px] w-full items-center justify-center bg-[var(--background)] text-[var(--foreground)]">
<label className="flex items-center gap-3 text-base">
<Checkbox name="preferences" value="marketing" defaultChecked />
Send me product updates
</label>
</div>
);
}











