@muse-player/component
Pre-built UI components for Muse Player, styled with StyleX.
Warning
You must import the stylesheet for component styles to work:
PlaybackControls
A full playback control bar with progress seeking, play/pause/stop, time display, and tempo slider.
Props
All props are required.
UI Features
- Progress bar — clickable track with fill indicator. Click position is converted to a time ratio.
- Play/Pause button — circular orange button, toggles icon between play and pause states.
- Stop button — bordered circle with stop icon.
- Time display — monospace
M:SS / M:SSformat, plus current measure number. - Tempo slider — range input from 40 to 240 BPM with current value display.

