Aqua

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/checkbox-aqua

About this component

A glossy gel checkbox from the turn of the millennium: clear and colourless when empty. Ticking it fills it with bright aqua gel under a wet highlight, drops in a dark blue tick and sets it pulsing gently.

Triggers

  • Click
  • State change
  • Spring
  • Loop
  • Fill

Techniques

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

Difficulty

Intermediate

Accessibility

Keyboard and screen readers

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

Reduced motion

Every transition and animation is switched off, so it jumps straight to its final state and the pulse stops.

Use it in anything you build, commercial and client work included. Licence

More checkboxes

See all
BadgeGet code
BevelGet code
BrickGet code
CarbonGet code