Saddle

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/checkbox-saddle

About this component

A leather patch for a checkbox: tan hide with a row of cream saddle stitching and a tick pressed in blind. Ticking it brings the press down, the patch gives under it, and the tick comes up stamped in gold foil.

Triggers

  • Click
  • State change
  • Keyframe

Techniques

  • Keyframes
  • SVG
  • Radial gradient
  • Pseudo elements
  • CSS transition

Difficulty

Intermediate

Accessibility

Keyboard and screen readers

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

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
Choose seats
SeatsGet code
ShadeGet code
SignatureGet code
SiliconeGet code