Krizaka UI
Krizaka UI

Auth layout

An entry screen — sign in, sign up, verify, onboarding: the product's brand panel (its gradient, a promise, a quote) beside a calm form; one column on a phone with the mark above the form.

Web · ✓Mobile · ✗ à construireBureau · ✓BêtaMises en page
Niveau de support
Bêta
Taille
1.2 kB gzip, budget 1.2 kB
Qui l'utilise
8 fichiers des produits et sites en production l'importent (Verikora : 3, Folioviv : 3, Sovkora : 2) Compté dans l'inventaire daté du 2026-11-23.
import { AuthLayout } from "@krizaka/ui/auth-layout";

Web uniquement — React, depuis @krizaka/ui/auth-layout. Bêta : son API peut encore changer à une version mineure.

  • Mobile · ✗ à construire. sovkora-mobile hand-rolls it (src/ui/AuthShell.tsx). issue #275

Pourquoi il est là. Used by Sovkora, Verikora, Folioviv.

Quand l’utiliser

  • Sign-in, sign-up, password reset, email verification.
  • The first steps of an onboarding.

Quand ne pas l’utiliser

  • For settings once signed in.À la place : Settings layout
  • For a dialog that asks to sign in over a page.À la place : Dialog

Installation

Installer

npm install @krizaka/ui @krizaka/tailwind @krizaka/tokens tailwindcss

Styles

@import "tailwindcss";
@import "@krizaka/tailwind";
@import "@krizaka/ui/tailwind.css";

Importer

import { AuthLayout } from "@krizaka/ui/auth-layout";

Exemples

Studio · sign in

The brand panel with the promise and a creator's words, email and password, a passkey.

Onboarding

The steps in words above the current step's form.

Verify an email

The smallest entry screen: a code.

Props

An entry screen: the product's brand panel beside the form (one column on a phone).

PropTypeDéfautDescription
brandrequisReactNode—The product's mark and name (<ProductLogo id="sovkora" /> Sovkora): in the brand panel, and above the form on a phone.
titlerequisReactNode—The form's title (Welcome back): the h1.
asideReactNode—The brand panel's sentence or quote under the promise (a MascotQuote, a creator's words).
asideFooterReactNode—The brand panel's foot (© Krizaka · Montréal).
descriptionReactNode—One sentence under the title.
footerReactNode—Under the form: the other way (No account yet? Create one).
legalReactNode—The fine print at the very bottom (terms, privacy).
promiseReactNode—The brand panel's promise, large (desktop).

Accessibilité

  • The form's title is the page's h1, inside main.
  • The brand panel is decorative on a phone (hidden); its text is read on a desktop.

Bonnes pratiques

  • One primary action (cut, shimmer) at full width; the alternatives as secondary buttons under it.
  • The promise in five words, a real person's sentence under it.
  • Autocomplete on every field (email, current-password, one-time-code).

Générée depuis le code de @krizaka/ui 5.3.4 : son meta.ts, ses exemples et ses types.Modifier cette documentation sur GitHub

Sur cette page