Skip to content

Music

A responsive music library and player built with Lenso UI.

Open Music on the web · Preview in Duo · Browse source

What is included

Music combines album browsing, search, library views and a player with a queue. In Duo, playback and navigation follow the active screen when you fold or unfold the device.

  1. Find a track in Search and start playback.
  2. Open Now Playing from the mini player. Try scrubbing, shuffling or opening the queue.
  3. In Duo, fold the device while a track is playing and resume from the cover screen.

Files to adapt

FilesResponsibility
apps/docs/src/routes/$locale.music.tsxStandalone web entry and Duo screen entry
apps/docs/src/components/music-demo.tsx, music-player.tsxNavigation, library views and playback controls
apps/docs/src/lib/music-model.ts, music-library.tsPlayback session, queue and sample catalog
apps/docs/src/styles/music-demo.stylex.tsResponsive layouts and appearance
apps/docs/public/assets/demo/music/Sample tracks and source notes

Follow Quick start for theme CSS and StyleX. This is a repository template, not a standalone distribution or streaming service. Bring the supporting modules when adapting it and preserve the sample audio credits or replace the tracks.