MFA Code plays out two factor entry: a six digit code fills its boxes one by one with a focus pop on each, a typing indicator flickers below, and the form resolves into a verified state before looping. Built with Framer Motion and React. Card copy is prop driven, making it a ready tile for MFA and security feature sections.
Installation
Install dependencies.
Copy and paste the following code into your project.
Unlock the full library
Get all pro blocks, components & illustrations, and production-ready Next.js + Tailwind templates.
Update the import paths to match your project setup.
Usage
import MfaCode from "@/components/pro/blocks/mfa-code";<MfaCode />Props
| Prop | Type | Default | Description |
|---|---|---|---|
cardTitle | string | "Multifactor Authentication" | Title shown in the card overlay. |
cardDescription | string | "Each user's self-serve multifactor settings are enforced automatically." | Description shown in the card overlay. |
Related blocks
- API Keys
A user connected to a blinking server rack by packet-traveling rails while a live API key scrambles into place in an issued chip.
- Bot Radar
A rotating radar sweep with rings and crosshairs where user blips glow emerald and bot blips flash red with a blocked label.
- Fraud Feed
A sign-up attempt feed where verified rows check off and fraudulent rows flash red, strike through, and get blocked with an X badge.
- Magic Link
An ID card sliding into a scanner where a beam sweep reveals a scrambling verification code, then a checkmark and verified user appear.
