Acronis UIKit
Layouts

Auth Layout

A centered-card layout for sign-in, sign-up, and verification flows.

Usage

import {
  AuthLayout,
  AuthLayoutCard,
  AuthLayoutLogo,
  AuthLayoutFooter,
} from '@acronis-platform/ui-react';

AuthLayout is the centered-card chrome for unauthenticated screens — sign-in, sign-up, forgot-password, 2FA. It centers a surface AuthLayoutCard on the page, with a brand/title slot (AuthLayoutLogo), the form as children, and a footer of links (AuthLayoutFooter). Mapped to the Main-menu-improvements Figma.

The form inside carries the semantics — use a Field / Form with a labelled heading.

Examples

<AuthLayout>
  <AuthLayoutCard>
    <AuthLayoutLogo><span className="text-base font-semibold">Sign in</span></AuthLayoutLogo>
    <Field>
      <FieldLabel>Email</FieldLabel>
      <FieldControl render={<InputBox type="email" />} />
    </Field>
    <Button className="w-full">Sign in</Button>
    <AuthLayoutFooter><a href="#">Forgot password?</a></AuthLayoutFooter>
  </AuthLayoutCard>
</AuthLayout>

For an authenticated app screen use App Shell.

Parts

ExportPurpose
AuthLayoutFull-page centered container.
AuthLayoutCardThe centered surface card (max-w-sm).
AuthLayoutLogoTop brand / title slot.
AuthLayoutFooterBottom muted links / helper text.

All parts accept their native element attributes plus className.

Edit on GitHub

On this page