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
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.localBALLMAC_LICENSE_KEY=your-licence-keyAdd it.
$ pnpm dlx shadcn@latest add @ballmac-pro/auth-pro-3Need a licence or help with setup?
Usage
import { AuthPro3 } from "@/components/ballmac/blocks/auth-pro-3/auth-pro-3"Dependencies
- npm
- lucide-react
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.
More authentication blocks
Forgot Password 1: request, resend and reset
The whole password-recovery flow in one card: request a link, check-your-email with a resend countdown, choose a new password with confirmation and strength, and a success screen. Focus moves to each new heading.
Login 1: card with SSO and magic link
Centered sign-in card: SSO and email-link buttons, an email and password form with remember me, a loading submit and an inline error.
Login 2: split screen with testimonial
A split-screen sign-in: SSO and passkey buttons, validated email and password with show/hide, remember me and error state on one side, a soft colour mesh with a customer quote on the other.
Signup 1: form with benefits column
A signup page: validated name, work email and password with a live strength guide, terms checkbox, SSO option and a check-your-inbox confirmation, beside a benefits list with social proof.