Search

Search components and flows across the catalog

EchoConceptInteractive preview

Echo: Play an album

A clickable two-step iOS music flow: pick a song on the album page, play it full-screen, then minimise back to the album with the mini player still going.

Category
Media
Platform
iOS
Steps
2

Interactive flowClick through it, resize it, or switch states. It’s real UI, not a screenshot.

Step by step

2 steps, start to finish

Every screen in this flow, in the order people see it.

  1. Echo: Album
    Step 1Echo: Album
  2. Echo: Now playing
    Step 2 · FinishEcho: Now playing

Use this flow

Free to use. It works on its own in any React and Tailwind project, so you can add it with one command, paste the code, or hand the prompt to your coding agent.

FreeReact 18+Tailwind v3.4 or v4No extra packages

1. Add it with the shadcn CLI

npx shadcn@latest add https://www.thatdesignui.com/r/flows/echo-play-an-album.json

2. Use it

Every prop is optional
app/page.tsx
import FlowEchoPlayer from "@/components/flow-echo-player";

export default function Page() {
  return <FlowEchoPlayer />;
}

Prefer to paste it yourself? Open the .

Under the hood

How it’s built

What’s inside

  1. Plays the Echo album page then the now-playing screen. Tapping a track, Play or Shuffle opens the player on that exact song (shuffle carries over); the player's down chevron returns to the album with the mini player showing the same song, position and play state, and tapping the mini player reopens the player where it left off.
  2. A dark dock along the bottom edge (4.5rem tall; the screen above fills the rest of the viewport) shows the two steps (1 Album, 2 Now playing) with mint (#5ef2b4) step dots and focus rings, a Back arrow and a Restart button.

How it behaves

  • Tapping 'Glasshouse' on the album opens the player on 'Glasshouse' at 0:00, playing.
  • Pressing the down chevron after a few seconds returns to the album with the mini player showing 'Glasshouse' and the equaliser bars on its row.
  • Tapping the mini player reopens the player at the same position; if it was paused it stays paused.
  • Saving the album, opening the player and coming back keeps the heart filled; Restart clears it and the mini player.
  • The step dock never covers the mini player, tab bar or player controls at 375px.