# Application Auth Page: MFA Enrollment Page

A required two factor enrollment gate with three method rows ranked by strength, the authenticator app preselected, a grace period deadline, and a skip link.

- Page: https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/mfa-enrollment-page
- Collection: [Application](https://www.shadcn-ui-blocks.com/blocks/application-pro), Standard tier
- Group: [Auth Pages](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages)
- Created: 2026-07-10
- Preview image: https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/mfa-enrollment-page.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/application-pro-auth-pages-mfa-enrollment-page
```

Needs an API key from a Pro or Team plan: add `@shadcn-ui-blocks` to the registries in components.json with the key as an `Authorization: Bearer` header. Setup: https://www.shadcn-ui-blocks.com/docs/shadcn-cli. The MCP server installs it without the setup: https://www.shadcn-ui-blocks.com/docs/mcp.

## Depends on

- npm packages: class-variance-authority, lucide-react, radix-ui
- shadcn/ui components: badge, button
- Installs to: `@/components/blocks/application-pro/auth-pages/mfa-enrollment-page`

## About this block

MFA Enrollment Page is the gate shown when an org starts
requiring two factor auth for everyone. The Acme lockup
sits above a card headed Acme now requires two factor
auth, a line naming the signed-in address, then three
method rows in a radiogroup: authenticator app (tagged
Recommended and preselected), security key (tagged
Strongest), and text message. Each row has a muted icon
tile, a name, and a one-line detail on its tradeoffs. A
Continue with authenticator app button leads, and a
footer note states the grace deadline plainly (June 30,
9 days away), what happens after it, and the 8 backup
codes handed out at the end of setup. A skip link works
until the deadline.

The methods are one typed const array of icon, name,
detail, tag, and selected fields. Ranking the rows by
strength and preselecting the practical default is what
keeps a mandatory step from stalling.

## When to use

Reach for this block when an admin turns on required MFA
and the user has no second factor registered yet. Wire
each row to its enrollment flow (TOTP, WebAuthn, or SMS)
and read the grace deadline from the org policy.

A natural flow around it on an Application Pro page:

**Before**

- [Auth pages](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages)

**After**

- [Settings pages](https://www.shadcn-ui-blocks.com/blocks/application-pro/settings-pages)
- [App shells](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells)

## What you can display

One strong use is the org-mandated MFA rollout. Other
enrollment variants:

- **Optional upsell.** Drop the deadline and frame the
  same rows as a security nudge the user can dismiss.
- **Single method.** Show one required factor when the
  org policy allows only authenticator apps.
- **Step-up prompt.** Reuse the rows to add a second
  factor before a sensitive action, not at sign in.

> Tip: rank the methods by strength and preselect the
> one most people can finish in two minutes; an unranked
> list of equal choices is where enrollment stalls.

## More in Application Auth Pages

- [Accept Invite Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/accept-invite-page)
- [Account Linking Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/account-linking-page)
- [Account Recovery Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/account-recovery-page)
- [Approval Pending Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/approval-pending-page)
- [Backup Codes Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/backup-codes-page)
- [Deactivated Account Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/deactivated-account-page)
- [Device Approval Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/device-approval-page)
- [Email Changed Confirm](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/email-changed-confirm)
- [Forgot Password Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/forgot-password-page)
- [Join Workspace Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/join-workspace-page)
- [Locked Account Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/locked-account-page)
- [Magic Link Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/magic-link-page)
- [Oauth Callback Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/oauth-callback-page)
- [Oauth Consent Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/oauth-consent-page)
- [Passkey Setup Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/passkey-setup-page)
- [Password Expired Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/password-expired-page)
- [Reset Password Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/reset-password-page)
- [Session Expired Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/session-expired-page)
- [Sign In Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/sign-in-page)
- [Sign Up Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/sign-up-page)
- [Sso Error Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/sso-error-page)
- [Sso Login Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/sso-login-page)
- [Two Factor Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/two-factor-page)
- [Verify Email Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/verify-email-page)
- [Welcome Back Login](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/welcome-back-login)
- [Workspace Picker Page](https://www.shadcn-ui-blocks.com/blocks/application-pro/auth-pages/workspace-picker-page)
