Stitch
Markup where the component goes, CSS in your stylesheet. No JavaScript.
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-stitchAbout this component
The box is a patch of fabric and the tick is sewn in: a needle runs along the tick leaving dashed stitches behind it one by one, then slips away. Unchecking pulls the thread out. Pure CSS.
Triggers
- Click
- State change
- Draw
- Delay stagger
- Keyframe
Techniques
- Keyframes
- Transition delay stagger
- CSS variables
- SVG
- Gradient
Difficulty
Intermediate
Accessibility
Keyboard and screen readers
A native checkbox inside a <label>, so "Sewn in" is its name. The patch is aria-hidden.
Reduced motion
The stitches appear at once and the needle never shows.
Use it in anything you build, commercial and client work included. Licence