Vinyl
The signature Rekodo display primitive: a rotating grooved record disc with album center label and optional mechanical tonearm.
Interactive Turntable Sandbox
Toggle spin playback, mechanical tonearm, and disc diameter — the generated code updates live.
vinyl-sandbox.tsx

Size
Quick Import
Pass album art and spin state to synchronize with your audio playback.
Example.tsxtsx
1import { Vinyl } from "@rekodo/react";2
3export function Example() {4 return (5 <Vinyl6 size="md"7 isSpinning={true}8 showTonearm={true}9 cover="/album-art.jpg"10 />11 );12}API Reference
Props accepted by this component.
| Prop | Type | Default | Description |
|---|---|---|---|
| size | "xs" | "sm" | "md" | "lg" | "xl" | "md" | Controls disc diameter, groove rings, and tonearm scale. |
| isSpinning | boolean | false | Toggles smooth vinyl platter rotation and tonearm engagement. |
| showTonearm | boolean | false | Displays the articulated mechanical tonearm alongside the platter. |
| cover | string | — | Optional image URL rendered on the center record label. |