App UI kits › Lounge › Player
Scrub with left and right in ten-second steps that speed up as you hold, with the chapter still above the playhead; skip intro, subtitles and audio.
Player is a screen from Lounge, an app ui kit with 8 screens: A streaming TV app for the living room, driven by a remote: focus moves with the arrows and the whole screen follows it. Price: $5 for the whole pack.
Built with: scrub preview, chapters, subtitle and audio panel.
Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.
| Prop | Type | Default | Description |
|---|---|---|---|
dark | boolean | ||
autoplay | boolean | ||
photos | LUPhotos | ||
at | number | 34:06) | Start position in seconds (default 34:06). |
video | HTMLVideoElement | A video element to drive instead of the still (its currentTime follows the scrubber). | |
onBack | () => void | ||
onNext | () => void |
press(key: 'up' | 'down' | 'left' | 'right' | 'ok' | 'back'): voidseek(sec: number): voiddestroy(): voidimport LoungePlayer from './LoungePlayer';
<LoungePlayer />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: TV app.