Snowcap

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/button-snowcap

About this component

A button after a snowfall: one heaped drift along its top that curls over both ends, tapered icicles under it and a few flakes still falling. Hover tips a little snow off the end; a press shakes the button, the drift itself breaks into pieces that tumble away in a puff of powder, the icicles snap, and the snow slowly builds back up.

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

Triggers2

  • Click
  • Hover

Techniques4

  • SVG
  • Keyframes
  • clip-path
  • CSS variables

Accessibility

Keyboard and screen readers

A native button named by its label, Shake it off; the snow is aria-hidden.

Reduced motion

Nothing falls or shakes and the flakes are hidden.

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

More buttons

See all
Soap pumpGet code
StaplerGet code
TrampolineGet code
UnveilGet code