Drip

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/button-drip

About this component

A button in fresh gloss paint whose drips behave like liquid: each one leaves the edge with a fillet, narrows to a neck and swells into a bead. Hover and they creep longer at their own pace until a drop necks off the longest and falls; press and the slab squashes and the paint pulls back.

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

Triggers2

  • Hover
  • Click

Techniques4

  • SVG filter
  • CSS transition
  • CSS variables
  • Keyframes

Accessibility

Keyboard and screen readers

A native button named by its label, Fresh coat; the drips are aria-hidden.

Reduced motion

The drips do not move and no drop falls.

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

More buttons

See all
E-stopGet code
FilmGet code
FlashGet code
FocusGet code