← All Components

SimplePage

Layout wrapper with consistent header, title, actions slot, and content area.

Basic

Dashboard

Page content goes here.

With Subtitle

Items

Browse and manage all items

Page content goes here.

With Actions

Items

Browse and manage all items

Item Alpha

Active

Category A

Item Beta

Active

Category B

Item Gamma

Archived

Category A

Empty State

Items

Browse and manage all items

Nothing here yet

Props

PropTypeDescription
titlestringPage heading displayed in the header. Required.
subtitlestringSecondary text below the title.
actionsReactNodeSlot rendered to the right of the title (e.g. buttons).
childrenReactNodeMain content rendered below the header.
classNamestringAdditional classes on the root element.

Usage

<SimplePage title="Items" subtitle="Browse and manage all items" actions={<Button>+ New Item</Button>} > <CardGrid columns={3}> {items.map(item => ( <Card key={item.id} variant="interactive"> <Card.Header> <h3>{item.title}</h3> <Badge variant="success">Active</Badge> </Card.Header> <Card.Body> <p>{item.detail}</p> </Card.Body> </Card> ))} </CardGrid> </SimplePage>