Tear

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/card-tear

About this component

A tear-off checklist drawn as a pad of pastel paper tickets, each bound to its stub by a row of punched holes. Tick a stub and the slip rips off along the perforation with a jagged, fibrous edge, lifts, curls and falls out of the card while the checked stub lingers; the next ticket rises off the pad and the count of what is left rolls down. An empty pad shows its kraft back, a fall of paper bits and a Refill button.

Triggers

  • Card
  • Click
  • State change
  • 3D
  • Spring
  • Keyframe
  • Delay stagger

Techniques

  • clip-path
  • Perspective
  • 3D transform
  • Keyframes
  • CSS transition
  • Radial gradient
  • mix-blend-mode
  • CSS variables
  • State machine
  • Spring

Difficulty

Advanced

Accessibility

Keyboard and screen readers

Each stub holds a native checkbox labelled with its task, so Tab and Space work; ticked boxes ignore unticking while their slip tears away. Tickets beneath the pad are inert and hidden from assistive tech. Focus moves to the next ticket's checkbox (or Refill when the pad is empty) after a row closes, a visible 2px ring marks the focused stub, and a polite live region announces '4 left' or 'All done'.

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

More cards

See all

ORBT

152.75, up 7.27 percent over one day

TickerGet code
ZonesGet code

Design review

Live
  • Mina, speaking
  • Omar
  • Leo
  • Ama
  • Noor
8
HuddleGet code

Mira Holt

Art director

TeamGet code