Turntable

A record player: the vinyl spins and the tonearm swings onto it when you press play.

Install it the shadcn way: copy the source file into your project. It uses CSS 3D, Tailwind CSS v4 and Framer Motion, no WebGL.

Turntable3D props

PropTypeDefaultDescription
titlestring"Midnight Depth"Track title shown under the record.
artiststring"The Perspectives"Artist name shown under the title.
playingbooleanControlled playing state.
onPlayingChange(playing: boolean) => voidCalled with the new playing state when playback starts or stops.
sizenumber320Width in px.
classNamestringExtra classes added to the outer element.

More components

Guides

Start

Cards

Scenes

Controls & text

Buttons

More cards

UI elements

Form controls

App components

Text & backgrounds

Showpieces

Blocks