lucasmarkes

Vault

Component 31

About

An interactive isometric vault-door illustration whose combination dial responds to pointer drag, settles on a detent, and throws its bolts open on the correct number, for security-themed hero art or empty states.

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

Code

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

Usage.tsx

"use client";

import Vault from "@/components/ui/vault";

export default function VaultDemo() {
  return (
    <div className="flex min-h-screen w-full items-center justify-center bg-background p-10">
      <div className="w-full max-w-sm">
        <Vault aria-label="A vault door: circling the pointer turns its dial, which coasts and catches every ten; on forty its three bolts draw back." />
      </div>
    </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 Turntable

    Hairline Turntable

    38
  • Hairline Sieve

    Hairline Sieve

    32