Forge Developer

Beta

Forge Developer

Beta

Rate this page:

HomepageFeed

The HomepageFeed component is the top-level component required for the confluence:homepageFeed module.

This module can only be used in Confluence.

Usage

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

Props

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

Example

A hello world example of the HomepageFeed component.

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

const App = () => {
    return (
        <Text>Hello world!</Text>
    );
};

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

Preview

Example of a Homepage feed with the above sample code

Rate this page: