Ballmac UI home

Auth Pro 3: one-time code verificationPRO

Six digit boxes backed by one real input, so paste and autofill work. Checks on the last digit, shows a wrong-code state and offers a resend with a countdown.

Installation

  1. Once per project: add the Pro registry and your licence key.

    components.json
    {
      "registries": {
        "@ballmac": "https://ui.ballmac.com/r/{name}.json",
        "@ballmac-pro": {
          "url": "https://ui.ballmac.com/r/pro/{name}.json",
          "headers": { "Authorization": "Bearer ${BALLMAC_LICENSE_KEY}" }
        }
      }
    }
    .env.local
    BALLMAC_LICENSE_KEY=your-licence-key
  2. Add it.

    $ pnpm dlx shadcn@latest add @ballmac-pro/auth-pro-3
  3. Need a licence or help with setup?

    The source is part of Ballmac UI Pro.

    Log in with your licence key to read and copy it here, or install it through the shadcn CLI or the MCP server. You own the code once it is in your project.

Usage

import { AuthPro3 } from "@/components/ballmac/blocks/auth-pro-3/auth-pro-3"

Dependencies

Use with AI

Code entry. onVerify may return false or throw; the demo code only applies when you pass no handler. With the shadcn MCP server set up (guide), ask your agent:

Add the Ballmac UI Auth Pro 3: one-time code verification (@ballmac-pro/auth-pro-3) to this project with the shadcn MCP, then use it where it fits.

Use it for

  • Email, phone and two-step verification

Not for

  • Long codes or links

Registry JSON (needs your licence key): https://ui.ballmac.com/r/pro/auth-pro-3.json

Covered by the Ballmac UI Pro license.