lucasmarkes

Hairline Turntable

Component 38

About

An isometric SVG illustration of blocks on a turntable that spins when you drag across it and settles on the nearest quarter turn, with pointer-driven camera elevation and an intensity prop for how long the spin coasts.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Hairline Turntable to your project and fits it to your theme.

Code

How Hairline Turntable is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import Turntable from "@/components/ui/turntable";

export default function TurntableDemo() {
  return (
    <div className="flex h-full w-full items-center justify-center bg-background p-10">
      <Turntable className="w-full max-w-sm text-foreground" />
    </div>
  );
}

More by lucasmarkes

View all
  • Hairline Riffle

    Hairline Riffle

    126
  • Hairline Terrain

    Hairline Terrain

    60
  • Padlock

    Padlock

    51
  • Hairline Terminal

    Hairline Terminal

    47
  • Isometric Elevator

    Isometric Elevator

    44
  • Hairline Slow

    Hairline Slow

    44
  • Hairline Sieve

    Hairline Sieve

    32
  • Vault

    Vault

    31