Page
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): ElementProps
- titlerequired
ComponentChildren The page heading. Can include a Highlight for a few words.
- eyebrowoptional
string A short label above the title, such as the project name.
- projectoptional
string Shown as the prompt's working directory, such as
image-tagger, and named in the footer credit.- descriptionoptional
ComponentChildren A sentence or two under the title.
- actionsoptional
ComponentChildren Buttons or links under the description.
- authoroptional
Author Whose site this is. Defaults to defaultAuthor.
- childrenrequired
ComponentChildren The content, such as Panels.
design-system is a Ben Hodgson projectGitHub