AuthCard
Authentication form card with dynamic fields, submit button, and footer slot.
Example
Sign in
Enter your credentials to continue.
Props
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
title | string | — | Required | Form title |
description | string | — | No | Helper text |
fields | AuthCardField[] | — | Required | Form field definitions |
submitLabel | string | — | Required | Submit button text |
onSubmit | (e: FormEvent) => void | — | No | Form submission handler |
footer | ReactNode | — | No | Footer content (links, etc.) |
elevation | 0 | 1 | 2 | 3 | — | No | Surface elevation |