lucasmarkes

Padlock

Component 51

About

An animated isometric padlock icon whose shackle springs up and swings open as the pointer approaches, for security/lock UI states and empty states.

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

Code

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

Usage.tsx

import Padlock from "@/components/ui/padlock";

export default function PadlockDemo() {
  return (
    <div className="flex w-full items-center justify-center bg-background p-10 text-foreground">
      <Padlock style={{ width: 280 }} aria-label="Padlock" />
    </div>
  );
}

More by lucasmarkes

View all
  • Hairline Riffle

    Hairline Riffle

    126
  • Hairline Terrain

    Hairline Terrain

    60
  • Hairline Terminal

    Hairline Terminal

    47
  • Isometric Elevator

    Isometric Elevator

    44
  • Hairline Slow

    Hairline Slow

    44
  • Hairline Turntable

    Hairline Turntable

    38
  • Hairline Sieve

    Hairline Sieve

    32
  • Vault

    Vault

    31