Torch

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/button-torch

About this component

A burgundy velvet button with gold piping and gold lettering. A pool of warm light drifts over the pile at rest and follows your pointer exactly on hover, brushing the nap brighter where it falls.

Triggers

  • Hover
  • Mouse tracking
  • Spotlight
  • Ambient

Techniques

  • Mouse tracking
  • CSS variables
  • mix-blend-mode
  • Radial gradient

Difficulty

Intermediate

Accessibility

Keyboard and screen readers

A native button named by its label; the light is aria-hidden.

Reduced motion

The light stays still at the centre unless the pointer moves it.

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

More buttons

See all
TraceGet code
TurnGet code
WalnutGet code
WashGet code