AuthLayout

Centered card layout for authentication pages (login, register, forgot password).

Category: layout · WCAG 2.1-AA · layout, auth, login, page

Props

PropTypeDefaultDescription
childrenReactNodeAuth form content
logoReactNodeOptional logo displayed above the form

Design tokens

When to use

When not to use

Examples

Login

Centered auth card with logo

<AuthLayout logo={<img src="/logo.svg" alt="Logo" />}><form>...</form></AuthLayout>

Related components

← Back to docs