Frost

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/checkbox-frost

About this component

A freeze card setting drawn as the card itself: ticking grows ice crystals in from all four corners and spreads a frosty haze behind them. Clearing thaws it and the frost fades away.

Dependencies
None
Difficulty
Intermediate
Reduced motion
Respected
Theme
Light and dark
Follows page color-scheme

Triggers3

  • Click
  • State change
  • Draw

Techniques5

  • SVG
  • stroke-dashoffset
  • Radial gradient
  • CSS variables
  • Transition delay stagger

Accessibility

Keyboard and screen readers

A native checkbox inside a <label>, so Space toggles it and the visible label names it; :focus-visible on the input outlines the card.

Reduced motion

The frost appears and goes at once.

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

More checkboxes

See all
GestureGet code
IceGet code

Email me when , when , and .

InlineGet code
Pay in 4Get code