Player

Low Sun

Ora Vale

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/card-player

About this component

A now-playing card in pale fluted glass: each reed squeezes the aqua light behind it into a vertical streak, and the light moves only while the track plays. Play, previous, next, the scrub bar and the up-next row all work.

Triggers

  • Click
  • State change
  • Card
  • Gradient
  • Ambient
  • Loop

Techniques

  • @property
  • Keyframes
  • Gradient
  • Radial gradient
  • Conic gradient
  • Filter
  • Interval

Difficulty

Advanced

Accessibility

Keyboard and screen readers

Play, previous and next are native buttons with aria-labels (Play or Pause follows the state); position is a native range with aria-valuetext such as 1:12 of 3:24; the title and artist sit in an aria-live region; the up-next row is a button named Play <title> next.

Reduced motion

The reeds, record and title transitions stay still while every control still works.

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

More cards

See all

Delete workspace

northwind
PurgeGet code

New checkout

Rolling out
RolloutGet code
3 lights on
RoomGet code
Authenticator

TokenGet code