Passkey 1 - Create a passkey prompt

A centred card prompting the user to create a passkey, explaining the benefits and walking through the three steps, with simulated creating and success states. Use it after sign-in or in security settings to move users off passwords.

About Passkey 1

A centred card prompting the user to create a passkey, explaining the benefits and walking through the three steps, with simulated creating and success states. Use it after sign-in or in security settings to move users off passwords.

Passkey 1 is a free passkey block for React, built on shadcn/ui and Tailwind CSS. It ships as 100 lines of TypeScript you own: every piece of copy is a prop with a sensible default, so you can drop it in and replace the content without touching the layout.

  • passkey
  • security
  • authentication
  • webauthn
  • prompt
  • passwordless

Installation

  1. Add the Chocolate UI registry to your components.json (see the installation guide).
  2. Run the shadcn CLI:
npx shadcn@latest add @chocolate/passkey-01

Dependencies installed automatically: lucide-react.

Uses: button, reveal, utils.

Usage

import Passkey01 from "@/components/blocks/passkey-01"

export default function Page() {
  return <Passkey01 />
}

FAQ