Search Plus UI Blocks

Find a block, a category or a site

Four-digit PINotp-four-digit-pin

Use in Plus UI
npx shadcn@latest add https://blocks.plusui.com/r/otp-four-digit-pin.json

Auth · 14 variants

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

/preview/otp-four-digit-pin
Open ↗

Default content

{
  "brand": "selvira",
  "brandHref": "#",
  "eyebrow": "Welcome back, Hannah",
  "title": "Enter your PIN",
  "description": "Your 4-digit PIN opens your treatment plan, appointments and invoices on this phone.",
  "fields": [],
  "code": {
    "label": "4-digit PIN",
    "length": 4,
    "masked": true,
    "hint": "The PIN you chose when you set up the app.",
    "keypad": {
      "deleteLabel": "Delete last digit"
    },
    "error": "That PIN doesn't match. 2 tries left before we ask you to sign in by email."
  },
  "submitLabel": "Unlock",
  "alternatives": {
    "title": "Can't remember it?",
    "items": [
      {
        "icon": "mail",
        "label": "Reset PIN by email",
        "description": "We send a link to the address on your patient file.",
        "href": "#"
      },
      {
        "icon": "phone",
        "label": "Call the patient desk",
        "description": "Every day 08:00–20:00 Istanbul time, in six languages.",
        "href": "#"
      }
    ]
  },
  "back": {
    "label": "Not Hannah?",
    "href": "#"
  },
  "footer": [
    {
      "label": "Privacy",
      "href": "#"
    },
    {
      "label": "Help",
      "href": "#"
    }
  ]
}