Skip to Content
BlocksAccount and admin

Auth

Signing in or up, resetting a password, accepting an invite, choosing a workspace, a two-factor code at sign-in, verifying an email address, and passkeys.

The pages around signing in, from the first visit to the workspace. Sign in with the password Northwind1, and try 123456 as a code.

Sign In

One form to sign in or sign up, with Google, X and GitHub on one row and a row at the bottom that unfolds the sign-up fields.

npx shadcn add @dashboardblocks/auth-05

Welcome back

Sign in to pick up where you left off.

Use 8 or more characters, a number, and an uppercase letter.

By creating an account you agree to the Terms and the Privacy Policy.

or

Forgot Password

An email field that sends a reset link, then a check your email page with the mail apps to open and a resend that counts down.

npx shadcn add @dashboardblocks/auth-06

Reset your password

Enter your email and we’ll send you a link to set a new one.

Not in your inbox? Check your spam folder, or send it again.

Reset Password

A new password with a strength meter and the rules it still needs, then a way back to sign in, or a new link when this one has expired.

npx shadcn add @dashboardblocks/auth-07

Set a new password

For amara@acme.co.

Use 8 or more characters, a number, and an uppercase letter.

Accept Invite

The workspace, who invited you, the role you'll get and who's already there, with a prompt to switch account when the invite is for another address.

npx shadcn add @dashboardblocks/auth-01

Join Northwind Finance

Liam Carter invited noah@northwind.io to the workspace.

Invited by
Liam Carter
Role
MemberCan create and edit dashboards
Members
24 people

Workspace Picker

Every workspace you're in, with your role, pending invites you can join and a search once there are more than five.

npx shadcn add @dashboardblocks/auth-02

Choose a workspace

Signed in as amara@acme.co. You’re in 4 workspaces, with 1 invite waiting.

Two-Factor Code

The 6-digit code from an authenticator app, with a recovery code instead, the tries left and an option to trust the device.

npx shadcn add @dashboardblocks/auth-03

Two-factor authentication

Enter the 6-digit code from your authenticator app.

Trust this device for 30 days

Verify Email

A code sent by email, a resend that waits a minute between emails, and a way to fix a mistyped address.

npx shadcn add @dashboardblocks/auth-04

Check your email

We sent a 6-digit code to amara@acme.co. It expires in 10 minutes.

Not in your inbox? Check your spam folder, or send it again.

Passkeys: Sign In with Passkey, Pro

One button that opens the browser's passkey prompt, waits with Cancel and says when the prompt closed unused.

Pro

Sign in with a passkey

Use your fingerprint, face or screen lock. No password needed.

Passkeys: Add a Passkey, Pro

An offer after sign-in to add a passkey, which says where it was saved, with Not now beside it.

Pro

Sign in faster next time

Add a passkey and sign in with your fingerprint, face or screen lock instead of a password.

On this page