Fingerprint

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/checkbox-fingerprint

About 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

More checkboxes

See all
KeycapGet code
Select AllGet code
SmileGet code
Today0 of 4 done
Sorting ListGet code