Gilding

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/slider-gilding

About this component

The fill is gold leaf laid on gesso, crinkled metal in overlapping squares with a torn leading edge: a loose leaf flutters at that edge where it is being laid, and dragging forward shakes flakes off behind.

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

Triggers3

  • State change
  • Gradient
  • Fill

Techniques4

  • Gradient
  • Keyframes
  • 3D transform
  • clip-path

Accessibility

Keyboard and screen readers

A native range input named Gilded; the leaf is aria-hidden.

Reduced motion

The loose leaf is still and no flakes fall.

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

More sliders

See all
Thin iceGet code
LaceGet code
LawnGet code
LoomGet code