Stage
Containers

Stage

Full-bleed page background that a single card sits on, such as a sign-in panel, a first-run wizard, or a welcome screen.

Component behavior

Stage provides a centered page layout with a configurable background. children supplies page content, such as a LoginPanel or Wizard.

StageProps extends HTMLAttributes<HTMLElement> props
PropTypeDefaultDescription
asElementType"main"Root element or component. Use div when this is not the main page region.
brandReactNode—Brand content above the card.
actionReactNode—Corner slot, pinned top-right. A ThemeToggle, a locale picker.
footerReactNode—Footer content below the card.
background"glow" | "grid" | "plain" | "none""glow"The stage. glow is the brand wash; grid adds a ruled lattice that fades out behind the card.
fullHeightbooleantrueSets flex: 1 and a viewport minimum height. False sizes the stage to its content.
childrenReactNode—The card.

Examples

A card on a stage

Stage

Backgrounds

Use glow as the default, grid for public-facing screens, plain when the brand hue appears elsewhere on the page, and none inside a surface that already has its own background.

Stage backgrounds
A full-screen wizard on the same stageTSX
import { Stage, Wizard } from "@solarius/onset";

<Stage background="glow">
  <Wizard
    steps={steps}
    layout="rail"
    bordered
    elevation="dialog"
    style={{ width: "min(1060px, 92vw)", height: "min(760px, 88vh)" }}
  />
</Stage>;