Vinyl

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 Cover
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 <Vinyl
6 size="md"
7 isSpinning={true}
8 showTonearm={true}
9 cover="/album-art.jpg"
10 />
11 );
12}

API Reference

Props accepted by this component.

PropTypeDefaultDescription
size"xs" | "sm" | "md" | "lg" | "xl""md"Controls disc diameter, groove rings, and tonearm scale.
isSpinningbooleanfalseToggles smooth vinyl platter rotation and tonearm engagement.
showTonearmbooleanfalseDisplays the articulated mechanical tonearm alongside the platter.
coverstring—Optional image URL rendered on the center record label.