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.
| Prop | Type | Default | Description |
|---|---|---|---|
| title | string | "Midnight Depth" | Track title shown under the record. |
| artist | string | "The Perspectives" | Artist name shown under the title. |
| playing | boolean | Controlled playing state. | |
| onPlayingChange | (playing: boolean) => void | Called with the new playing state when playback starts or stops. | |
| size | number | 320 | Width in px. |
| className | string | Extra classes added to the outer element. |