Arc
ComponentsBlocksDocsPricingTry the demo
Get Pro
Introduction
Installation
Theming
Motion
AI and MCP
Changelog
Metrics dashboardPro
KPI drilldownPro
Metric explorerPro
Revenue explorerPro
MRR waterfallPro
Cohort retentionPro
Usage forecastPro
Journey flowPro
Uptime statusPro
Pivot builderNewPro
Choropleth explorerPro
Connected scatterPro
Horizon chartPro
Account healthPro
Market terminalPro
Budget variancePro
Small multiplesPro
Line replayPro
AI chatPro
AI composerPro
AI answerPro
Model pickerPro
Model arenaPro
Prompt studioPro
Document extractionPro
Agent memoryPro
AI side panelPro
AI inline editPro
Research runPro
AI insight cardPro
Catch upPro
AI feature launchPro
AI search barPro
AI setup wizardPro
Call insightsPro
Lead scoringPro
Agent runPro
Agent tasksPro
Agent approvalsPro
Agent routinesPro
Agent orchestratorPro
MCP serversPro
Knowledge basePro
Eval suitePro
Agent builderPro
Agent galleryPro
SidebarPro4
Page header
Command palette
Notification center
Selection toolbarPro
Empty states
Search resultsPro
Login and sign up5, free and Pro variants
Onboarding illustrationPro
OTP input
Multi-step formPro
Two-factor setupPro
Magic linkPro
Settings pagePro
Settings commandPro
Security settingsPro
Billing overviewPro
Usage billingPro
Cancel flowPro
Onboarding surveyPro
Spend alertPro
Team membersPro
Invite peoplePro
Team directoryPro
Roles and permissionsPro
Profile pagePro
API keysPro
WebhooksPro
IntegrationsPro
Environment variablesPro
Domain verifyPro
Webhook testerPro
Plan comparison
Pricing calculatorPro
Usage pricingPro
Cart drawerPro
Checkout summaryPro
Live checkoutPro
Seat managerPro
Credit top-upPro
Invoice studioPro
Wallet cardPro
Delivery trackerPro
Product listingPro
Product detailPro
Seat mapPro
Activity feedPro
Inbox triagePro
Support conversationPro
Support widgetPro
Help centerPro
Feature votingPro
File upload
Media playerPro
Week calendarPro
Availability pickerPro
Project boardPro
Gantt timelineNewPro
Release readinessPro
Kanban boardPro
Feedback boardPro
Smart schedulerPro
Task breakdownPro
Goal trackerPro
Hero section
Hero signupPro
Scroll storyPro
Spotlight gridPro
Feature bentoPro
Comparison table
Logo marquee
Studio perspectivesPro
Stats band
Changelog feed
FAQ section
Contact section
Team showcasePro
Blog grid
Site header
Site footer
CTA section
Newsletter signup
Activity terrainPro
Revenue globePro
Customer galaxyPro
Semantic zoomPro
Layout morphPro
Exploded viewPro
What’s new4 new
BlocksMedia player

Media player

Pro

An audio player with a living playlist and complete playback controls.

Live block · sample data

When to use

  • A small audio collection such as a podcast, sample pack, or playlist.
  • Pages that need a full player with seek, skip, volume, and a track list.

When not to use

  • Use now-playing for a compact now playing widget.
  • Use transcript-studio when the audio needs a synced transcript.
  • Use voice-recorder for recording audio.

Installation

Pro source and install commands unlock with a Pro plan.

Usage

Use this for an audio collection where people need clear transport, progress, and volume controls. Replace the sample local loops with your media.

example.tsx
1import { MediaPlayerBlock } from "@/components/arc/blocks/media-player/media-player";2 3export function Listen() {4  return <MediaPlayerBlock />;5}
Built fromButtonProgressMotion

API reference

MediaPlayerBlock

An audio player with cover art, a three-track playlist, seek bar, skip, and volume with mute. Takes no props; the tracks are short loops synthesized in the browser as WAV blobs, and covers come from lib/media photos.

No props.

Keyboard interactions

Arrow keys
Adjust seek position and volume on the focused range inputs.

Accessibility

  • Uses a native audio element with range inputs for seek and volume.
  • Transport and playlist buttons have labels such as "Play <title>" and "Next track"; the current track has aria-current.
  • Seek and volume ranges carry aria-valuetext such as "0:12 of 0:24" and "70%". The mute button's label switches between Mute and Unmute audio.

Motion

  • The selection rail glides to the current track with a shared layoutId on the gentle spring; playing bars pulse beside it.
  • The cover crossfades and the title rises in when the track changes; the play icon swaps with a short scale and blur.
  • Reduced motion removes the glides, swaps, and bar animation.

Responsive behavior

  • Below 420px viewport width the padding tightens, the cover takes a 1.7 ratio, transport buttons shrink, and the volume slider narrows to 64px.
  • Seek and volume are native range inputs, so touch and keyboard work without extra handling.

Performance

  • Uses a native audio element; position updates come from timeupdate, not a frame loop.
  • The demo tracks are generated as WAV blobs in the browser; replace them with real audio URLs in production.

Notes for AI

Give your coding assistant the Markdown reference instead of screenshots.

  • Use for a small audio collection such as a podcast, a sample pack, or a playlist.
  • Replace the tracks array and renderTrack() with real audio URLs set on the audio element, and the cover ids with your images.
  • The default export is MediaPlayerBlock.
/components/blocks/media-player/markdown

The full library index for assistants is at /llms.txt.

Related

Now playingProComponentGrow a mini player into the full player in one continuous morph.SliderComponentPick a value or a range on a track that follows your finger.Voice recorderProComponentRecord with a live waveform, review and scrub, then send the take into the thread.
PreviousMetrics dashboardNextSupport conversation
Arc · 134 block pagesllms.txt

On this page

  • Preview
  • When to use
  • When not to use
  • Installation
  • Usage
  • API reference
  • Keyboard
  • Accessibility
  • Motion
  • Responsive behavior
  • Performance
  • Notes for AI
  • Related
View as Markdown
A calm sea at dusk with a low island on the horizon

Morning tide

Arc Sessions · Original loop

0:000:24

Playlist