Putty

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/checkbox-putty

About this component

A checkbox pressed out of soft clay: a puffy periwinkle cushion that squashes under your finger. Ticking it turns it mint and a fat white tick swells up out of the surface.

Triggers

  • Click
  • State change
  • Spring
  • Neumorphic

Techniques

  • CSS transition
  • Pseudo elements
  • SVG

Difficulty

Beginner

Accessibility

Keyboard and screen readers

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

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
RosetteGet code
SaddleGet code
Choose seats
SeatsGet code
ShadeGet code