byronwade/ui
Marketing & editorial

Video · Marketing & editorial

Mini player

Picture-in-picture mini player with floating, inline, and dock variants, collapsed/expanded states, queue metadata, action slots, progress, and close/expand controls.

@byronwade/foundation@byronwade/thumbnail@byronwade/button@byronwade/utils@phosphor-icons/react

Feature showcase

Installation

Features

  • 3 examples

    Default, Dock, Expanded.

  • Tagged for youtube, video, tier:simple

API

Props

PropTypeDefaultDescription
variant"floating" | "inline" | "dock"floatingControls the mini-player layout.
size"sm" | "md" | "lg"mdControls player scale.
state"default" | "collapsed" | "expanded"defaultControls how much secondary content is shown.
titlestring-Now-playing title.
playingboolean-Controlled play state.
queueLabelReactNode-Optional playlist or queue context.
metadataReactNode-Optional channel, episode, or watch-progress details.
actionsReactNode-Secondary control slot.
onPlayingChange(playing: boolean) => void-Fired when play toggles.

Dependencies

PackageKindDescription
@byronwade/foundationregistryInstalled through the byronwade/ui registry.
@byronwade/thumbnailregistryInstalled through the byronwade/ui registry.
@byronwade/buttonregistryInstalled through the byronwade/ui registry.
@byronwade/utilsregistryInstalled through the byronwade/ui registry.
@phosphor-icons/reactnpmInstalled from npm.

Source and related

FilePath
Componentregistry/components/mini-player.tsx
Default examplecontent/examples/mini-player/default.tsx
Dock examplecontent/examples/mini-player/dock.tsx
Expanded examplecontent/examples/mini-player/expanded.tsx