AuthCard
functionsignature
AuthCard(__namedParameters): ElementA centred card for a sign-in, sign-up or recovery screen.
Parameters
| Name | Type | Description |
|---|---|---|
__namedParameters | AuthCardProps |
Returns
Element
Example
example
<AuthCard title="Sign in">
<Stack as="form" gap={3} onSubmit={submit}>
<FormField id="email" label="Email">{(c) => <Input {...c} type="email" />}</FormField>
<Button type="submit" loading={busy}>Sign in</Button>
</Stack>
</AuthCard>