Fingerprint
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initCbFingerprint(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-fingerprintAbout this component
Press and hold to confirm. While held, the fingerprint's ridges light up one by one from the centre outwards; let go early and they drain away. Held to the end, it checks and a badge pops in. Space still toggles it from the keyboard.
Triggers
- Click
- State change
- Delay stagger
- Icon
Techniques
- SVG stroke
- CSS variables
- Transition delay stagger
- CSS transition
Difficulty
Intermediate
Accessibility
Keyboard and screen readers
A native checkbox inside a <label>; its name is "Confirm payment Press and hold". Pointer clicks only toggle after the hold, but keyboard activation (Space) toggles at once.
Reduced motion
The hold is instant.
Use it in anything you build, commercial and client work included. Licence