Aakash

Retro Slide to Unlock

Component 16

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>
  );
}

Dependencies

More by Aakash

View all
  • Skincare Product Shelf

    Skincare Product Shelf

    967
  • Coffee Pour Menu

    Coffee Pour Menu

    653
  • Scroll Stacking Cards

    Scroll Stacking Cards

    369
  • Holographic Business Card

    Holographic Business Card

    272
  • Receipt Printer

    Receipt Printer

    104
  • Disc Reveal List

    Disc Reveal List

    89
  • Nearby Walk Menu

    Nearby Walk Menu

    85
  • Foggy Window Wipe

    Foggy Window Wipe

    81