Common UI kit components
Confluence UI kit components
Jira UI kit components

Rate this page:

SpacePage

Renders a full-page app in the content area of Confluence.

Example of a SpacePage component

Usage notes

SpacePage is the top-level component required for the confluence:spacePage module.

Import statement

1
import ForgeUI, { SpacePage } from '@forge/ui';

Props

NameTypeRequiredDescription
childrenArray<ForgeComponent>YesA container for displaying multiple components. Can contain any UI kit component.

Example

1
2
3
4
5
6
7
8
9
10
11
12
13
14
import ForgeUI, {render, Text, SpacePage} from '@forge/ui';

const App = () => {
    return (
        <Text>Hello from the space page!</Text>
    );
};


export const run = render(
    <SpacePage>
        <App/>
    </SpacePage>
);

Rate this page: