Component packs › Groove › Scratch Deck
Grab the record and the sound really follows your hand, faster, slower and backwards; let go and the motor pulls it back up to speed while the waveform scrolls with it.
Scratch Deck is a turntable from Groove, a component pack with 8 components: Audio components with real sound, made live in the browser. Price: $2 for the whole pack.
Built with: real scratch audio, motor physics, scrolling waveform.
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 |
|---|---|---|---|
src | string | the built-in 90 BPM loop | Your own audio file URL (CORS-enabled). Default: the built-in 90 BPM loop. |
title | string | ||
artist | string | ||
theme | 'dark' | 'light' | ||
autoplay | boolean | Showcase mode: spins and scratches silently until touched. |
readonly playing: booleanplay(): voidpause(): voiddestroy(): voidimport ScratchDeck from './ScratchDeck';
<ScratchDeck />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Audio player UI.