Skip to content

Search

Page

ComponentLayout Source

The frame for a single-page app: a site bar with the author's Identity and a ThemeToggle, a header, your content, and a footer with a Credit. A compact bar slides in once the site bar scrolls away.

Page(props: PageProps): Element

Props

titlerequiredComponentChildren

The page heading. Can include a Highlight for a few words.

eyebrowoptionalstring

A short label above the title, such as the project name.

projectoptionalstring

Shown as the prompt's working directory, such as image-tagger, and named in the footer credit.

descriptionoptionalComponentChildren

A sentence or two under the title.

actionsoptionalComponentChildren

Buttons or links under the description.

authoroptionalAuthor

Whose site this is. Defaults to defaultAuthor.

childrenrequiredComponentChildren

The content, such as Panels.

design-system is a Ben Hodgson projectGitHub