Tint

Folder colour
No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/card-tint

About this component

A folder made of coloured glass, a deep pane at the back and a lighter frosted pane in front with papers between them: pick one of the three swatches on the front and the whole folder takes the new colour while a sweep of light runs across the glass.

Triggers

  • Click
  • State change
  • Card
  • Gradient

Techniques

  • @property
  • CSS transition
  • Keyframes
  • Gradient
  • Filter

Difficulty

Intermediate

Accessibility

Keyboard and screen readers

Three native radios in a fieldset with a visually hidden legend ("Folder colour"), each named by aria-label; arrow keys move between them and :focus-visible rings the swatch.

Reduced motion

The transitions and loops stop and the card jumps straight to its final state.

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

More cards

See all

Signups

Last 8 weeks

4,812+18%

AcetateGet code
FERRYNo. 2291

Oban → Craignure

Dep 14:00 · Pier 2£7.20
AfloatGet code
Field camera 4×5£640

Walnut · bellows in good order

Ships in 2 days
BellowsGet code
The Long Room2026 · 1h 52
18:4021:1523:30
CinemaGet code