AuthLayout
Centered authentication page layout. Compound: AuthLayout, Divider, Footer.
Preview
Usage
import { AuthLayout } from '@ramtt/ui'
<AuthLayout title="Sign in">
<Input label="Email" />
<Button>Continue</Button>
<AuthLayout.Divider />
<Button variant="outline">Google</Button>
</AuthLayout>Props
| Prop | Type | Default | Description |
|---|---|---|---|
| title* | string | — | Page title |
| subtitle | string | — | Subtitle text |
| logo | ReactNode | — | Logo element |
| children* | ReactNode | — | Form content |