Auth surface
import { AuthSurface } from "@arcadia/ui";Sign in to Act
Preview only. No account is needed.
AuthSurface
nesting- "contained-object"
- Mark a framed surface that is an independent object inside another surface.
titlerequired- ReactNode
- The one title.
description- ReactNode
- One optional line under it.
icon- IconName
- A state glyph instead of the mark (a check once something finished, an alert when it can't).
tone- "neutral" | "success" | "warning" | "danger"
- Default:
"neutral" - The glyph's tone.
notice- AuthSurfaceNotice | null
- One line above the body: its icon carries the tone, the text stays in text-2.
footer- ReactNode
- Quiet lines under the body (a way back, a version row).
fill- boolean
- Default:
false - Fill the viewport and centre the card. Default false: the card alone, for a column the page centres.
bare- boolean
- Default:
false - No card: the same column, for a window that holds nothing else.
align- "center" | "start"
- Default:
bare ? "center" : "start" - Where the column's words stand.
center, bare's default: a short column that stands alone (a sign-in's).start, the card's: a column a person reads (a consent's paragraph, its detail and its answers), the mark and the title on that edge too. stateKey- string
- Changing it starts the body afresh (one step of a flow to the next, inside the same card), in one frame.
rootStyle- RootStyle
- Typed StyleX override: layout only.
children- ReactNode
- The body: fields, a code, the actions.