Guard
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initCbGuard(el) on the mounted element instead.
Paste into Claude, ChatGPT or Cursor after filling in {{USER_STACK}}, {{USER_STYLING}} and {{USER_CONSTRAINTS}}. Neutral keeps the greys you see here; Match my project asks the model to map them onto your own colour tokens.
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/checkbox-guardAbout this component
Each box is a faceted void crystal with a glint turning in it: ticking one shatters the crystal, shards and sparks flying off, to bare a white-hot magenta core with the tick; unticking draws the shards back in.
Triggers
- Click
- State change
- Glow
Techniques
- clip-path
- Keyframes
- requestAnimationFrame
- SVG
Difficulty
Advanced
Accessibility
Keyboard and screen readers
Native checkboxes inside <label>s in a group named "Alerts"; focus outlines the crystal.
Reduced motion
It changes without moving.
Use it in anything you build, commercial and client work included. Licence