Email Confirmed Success
Full-height success screen shown after a user confirms their email address, with a green checkmark badge, a heading and message, a primary Continue button, and a small support link below. Fully static, there is no verification logic here, it's the confirmation screen a real email link would redirect to.
Docs
Installation
A real shadcn registry command, not a copy-paste stand-in: it fetches this block plus its button dependencies and any missing npm packages, and installs them straight into your project.
npx shadcn add https://staaarter.com/r/email-confirmed-success.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/auth/auth12.tsx instead.
Usage
The file also exports auth12Demo, the exact props behind the preview above. Spread it to get a working section in one line, then replace it with your own data.
import { Auth12, auth12Demo } from "@/components/blocks/auth/auth12"; export default function Page() { return <Auth12 {...auth12Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| heading | ReactNode | "Email confirmed" | Success screen heading. |
| description | string | "Your email address has been verified. You can now access your account." | Supporting message under the heading. |
| continueLabel | string | "Continue" | Label for the primary button. |
| continueHref | string | "#" | Link target for the primary button. |
| supportLabel | string | "Need help? Contact support" | Label for the small support link below the primary button. |
| supportHref | string | "#" | Link target for the support link. |
| className | string | none | Extra classes for the outer section element. |
Behavior notes
- This is a static server component, it has no client state, hooks, or interactivity beyond the two links.
- The primary Continue button renders as a Next.js Link via Button's render prop (render={<Link .../>}), same pattern as other blocks' linked CTAs.
- The checkmark badge uses an emerald accent (text-emerald-600 / dark:text-emerald-400) for the universally-understood success color, matching how this codebase already flags positive states elsewhere (e.g. tool-content-article.tsx), rather than inventing a new semantic token.
More Auth Blocks
View all →centered-sign-in-card
Centered Sign In Card
Full-height centered sign-in card with social buttons, a password show/hide toggle, and remember-me.
split-screen-sign-up
Split-Screen Sign Up
Two-column registration screen with a sign-up form on one side and a full-bleed photo with a customer quote on the other.
email-verification-code
Email Verification Code
Full-height OTP screen with a 6-digit segmented code input, auto-advancing focus, and a live resend countdown.
forgot-password-request
Forgot Password Request
Full-height password recovery screen with a single email field, a send-reset-link button, and a back-to-sign-in link.
set-new-password
Set New Password
Full-height reset-password screen with independent show/hide toggles per field and a live password-requirements checklist.
magic-link-sign-in
Magic Link Sign In
Full-height passwordless sign-in screen with an email field, a send-magic-link button, and social login as a fallback.