Skip to content
GetUrUI

Media players

3 variantsNewPro
.md

Music, podcast and video player chrome with simulated playback — drawn cover art, chaptered progress, speed control and a scene that pans as the video plays.

playermusicaudiopodcastvideoscrubbersliderplaybackchapters

Music player

music.tsx

Drawn cover art that crossfades per track, a draggable keyboard scrubber, equaliser bars and a queue with shuffle and repeat.

$npx shadcn@latest add @geturui-pro/media-players-music
PropTypeDefaultDescription
tracks{ title; artist; duration; palette? }[]—Queue; palette colours the drawn cover.
defaultTrack / defaultPositionnumber0 / 72Starting track and second.
defaultPlayingbooleanfalseStart playing on mount.
onLikeChange(track, liked) => void—Like toggle handler.

Podcast episode

podcast.tsx

Episode card with a progress track split into chapters, 15/30 second skips, a rolling speed button and a chapter list that follows playback.

$npx shadcn@latest add @geturui-pro/media-players-podcast
PropTypeDefaultDescription
show / episode / title / publishedstring—Episode details.
durationnumber2834Length in seconds.
chapters{ title; start }[]—Chapter starts in seconds.
defaultPositionnumber498Start position in seconds.
speedsnumber[][1, 1.25, 1.5, 2]Speeds the speed button cycles through.
onPlayChange(playing: boolean) => void—Play state handler.

Video player

video.tsx

Player chrome over a drawn scene that pans with playback: buffered progress, volume slider, timed captions and controls that hide while you watch.

$npx shadcn@latest add @geturui-pro/media-players-video
PropTypeDefaultDescription
titlestring—Overlay title.
duration / defaultPosition / bufferAheadnumber96 / 14 / 22Timing in seconds.
cues{ start; end; text }[]—Captions shown while the CC toggle is on.
defaultVolumenumber700–100.
defaultCaptionsbooleantrueCaptions on at start.

Install the whole set

Installs every media players variant at once. Each section above has its own command for a single variant.

Pro installs use your private registry token. Add the @geturui-pro registry once — setup guide. The command works after you get Pro.

$npx shadcn@latest add @geturui-pro/media-players

Accessibility

  • Every scrubber and volume control is a role=slider with arrow, Page and Home/End keys and an aria-valuetext like “1:12 of 3:41”.
  • Play, like, shuffle, mute and captions are real buttons with labels and aria-pressed where they toggle.
  • Reduced motion stops equaliser bars and cover scaling; playback itself still advances.