Component packs › Groove › Scratch Deck

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.

Scratch Deck props

PropTypeDefaultDescription
srcstringthe built-in 90 BPM loopYour own audio file URL (CORS-enabled). Default: the built-in 90 BPM loop.
titlestring
artiststring
theme'dark' | 'light'
autoplaybooleanShowcase mode: spins and scratches silently until touched.

Methods on the ref

Use it in React

import ScratchDeck from './ScratchDeck';

<ScratchDeck />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Groove

Good for: Audio player UI.