Search Plus UI Blocks

Find a block, a category or a site

Passkey sign-insign-in-passkey

Use in Plus UI
npx shadcn@latest add https://blocks.plusui.com/r/sign-in-passkey.json

Auth · 14 variants

← → to step through · + on a thumbnail to compare side by side (up to 3)

/preview/sign-in-passkey
Open ↗

Default content

{
  "brand": "tallybird",
  "brandHref": "#",
  "eyebrow": "Billing console",
  "title": "Sign in with your passkey",
  "description": "Your passkey stays on your device. Tallybird never sees your fingerprint, face or screen-lock PIN.",
  "passkey": {
    "label": "Sign in with a passkey",
    "hint": "Your browser will ask you to confirm with your device's screen lock.",
    "waiting": {
      "title": "Waiting for your device",
      "description": "Confirm in the prompt your browser opened. Nothing happening? The prompt may be behind this window.",
      "cancelLabel": "Cancel"
    },
    "fallbackLabel": "Use email and password instead",
    "explainer": {
      "title": "What is a passkey?",
      "items": [
        {
          "icon": "fingerprint",
          "title": "You unlock it like your phone",
          "description": "A passkey replaces your password. You confirm with the same fingerprint, face or PIN you already use."
        },
        {
          "icon": "lock",
          "title": "Nothing to steal or phish",
          "description": "Your device keeps the private key. A fake site can't ask for it, and our servers only store a public key."
        },
        {
          "icon": "laptop",
          "title": "Lost the device? You still get in",
          "description": "Sign in with your password and two-factor code, then remove the old passkey under Security settings."
        }
      ]
    }
  },
  "fields": [
    {
      "kind": "email",
      "label": "Work email",
      "placeholder": "[email protected]"
    },
    {
      "kind": "password",
      "label": "Password",
      "link": {
        "label": "Forgot password?",
        "href": "#"
      }
    }
  ],
  "submitLabel": "Sign in",
  "switch": {
    "text": "Haven't set up a passkey?",
    "link": {
      "label": "Learn how it works",
      "href": "#"
    }
  },
  "footer": [
    {
      "label": "Help center",
      "href": "#"
    },
    {
      "label": "Status",
      "href": "#"
    },
    {
      "label": "Privacy",
      "href": "#"
    },
    {
      "label": "Terms",
      "href": "#"
    }
  ]
}