Papercut

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/checkbox-papercut

About this component

A layered paper checkbox: a white card with a tick lightly scored on it. Ticking it cuts the tick through three sheets, one after another, so coral, amber and teal paper show in steps down through the opening.

Triggers

  • Click
  • State change
  • Draw
  • Delay stagger

Techniques

  • SVG
  • stroke-dashoffset
  • Transition delay stagger
  • Filter

Difficulty

Intermediate

Accessibility

Keyboard and screen readers

A native checkbox inside a <label>, named by aria-label ("Layers"); everything drawn is aria-hidden, and :focus-visible on the input outlines the card.

Reduced motion

Every transition and animation is switched off, so it jumps straight to its final state.

Use it in anything you build, commercial and client work included. Licence

More checkboxes

See all
PatinaGet code
PopGet code
PostageGet code
PuttyGet code