Halo
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/button-haloAbout this component
Standoff sign letters on a wall plate, lit from behind so the light falls as a halo on the wall (in the light theme the same letters stand out by day, casting a soft shadow). Your pointer is the viewing angle: the letters slide over their halo and show their sides. Hover warms the light, a press pushes the letters flush to the wall so the halo pinches in, and they spring back out.
Triggers
- Hover
- Click
- Glow
- Mouse tracking
- 3D
Techniques
- @property
- CSS variables
- CSS transition
- Mouse tracking
- Event position
Difficulty
Intermediate
Accessibility
Keyboard and screen readers
A native button named by its label, Get started; the halo and returns are aria-hidden copies. Keyboard focus lifts the letters and shows an outline.
Reduced motion
There are no transitions and the pointer does not move the letters.
Use it in anything you build, commercial and client work included. Licence