Staaarter

Signed Out Confirmation

Full-height confirmation screen shown after a user signs out: a centered icon, a heading and message, a primary button to sign back in, and a link back to the homepage.

By Staaarter Team
Auth
Docs
Live preview

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/signed-out-confirmation.json

Prefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/auth/auth17.tsx instead.

Usage

The file also exports auth17Demo, 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 { Auth17, auth17Demo } from "@/components/blocks/auth/auth17";

export default function Page() {
  return <Auth17 {...auth17Demo} />;
}

Props

PropTypeDefaultDescription
headingReactNode"You've been signed out"Main heading.
descriptionstringundefinedSupporting message under the heading.
signInHrefstring"/sign-in"Destination for the "Sign back in" button.
homeHrefstring"/"Destination for the "Return home" link.
classNamestringnoneExtra classes for the outer section element.

Behavior notes

  • Entirely static/server-rendered, both links use next/link via the Button `render` prop, no client state is involved.
  • "Sign back in" and "Return home" are real navigational links pointed at signInHref/homeHref; nothing else on the page reacts to a real sign-out event.