Guard

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/checkbox-guard

About 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

More checkboxes

See all
ParryGet code
CapsuleGet code
ClearGet code
DropletGet code