Glow

Night runThu 21:40 · Riverside
8.4km
41:12time
4:54/km
No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/card-glow

About this component

A night run card printed with glow-in-the-dark ink: switch the lights off and the card goes dark while the route, the distance and the pace glow on in pale light, then settle to a softer glow as the ink loses its charge; lights back on charges it again.

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

Triggers4

  • Click
  • State change
  • Glow
  • Card

Techniques4

  • CSS transition
  • Filter
  • SVG
  • Keyframes

Accessibility

Keyboard and screen readers

Lights is a toggle button (aria-pressed, labelled Lights on or off); the run details are text in both states.

Reduced motion

The glow shows and stays without fading.

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

More cards

See all
HangingGet code
InfraredGet code

What do you see?

InkblotGet code
Pear, study 4Sketchbook

Pencil, then ink · 14 Nov

InkingGet code