About
A tactile slide-to-unlock control. Drag the ceramic knob along the groove: it springs back if you let go early and settles with a soft click at the end, then reveals whatever you put inside, with a button to lock again. Shimmering label, keyboard support
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Retro Slide to Unlock to your project and fits it to your theme.
Code
How Retro Slide to Unlock is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { SlideToUnlock } from "@/components/ui/retro-slide-to-unlock";
export default function Demo() {
return (
<div className="flex min-h-dvh w-full items-center justify-center bg-neutral-950">
<SlideToUnlock
device="classic"
carrier="SOS only"
label="slide to unlock"
track={{ title: "Gymnopédie No. 1", artist: "Erik Satie" }}
className="h-dvh w-full"
/>
</div>
);
}








