Skip to Content
Patternfly Logo

Page

Layouts
  • All but the last example set the isManagedSidebar prop on the Page component to have the sidebar automatically close for smaller screen widths. You can also manually control this behavior by not adding the isManagedSidebar prop and instead:

    1. Add an onNavToggle callback to PageHeader
    2. Pass a boolean into the isNavOpen prop to PageSidebar

    The last example demonstrates this.

  • To make the page take up the full height, it is recommended to set the height of all ancestor elements up to the page component to 100%

Layouts

This demonstrates a variety of navigation patterns in the context of a full page layout. These can be used as a basis for choosing the most appropriate page template for your application.

Default nav

Skip to content
Patternfly Logo
Avatar image

Main title

Body text should be Overpass Regular at 16px. It should have leading of 24px because
of it’s relative line height of 1.5.

Expandable nav

Skip to content
Patternfly Logo
Avatar image

Main title

Body text should be Overpass Regular at 16px. It should have leading of 24px because
of it’s relative line height of 1.5.

Grouped nav

Skip to Content
Patternfly Logo
Avatar image

Main title

Body text should be Overpass Regular at 16px. It should have leading of 24px because
of it’s relative line height of 1.5.

Light
Dark
Darker
Content

Horizontal nav

Skip to content
Patternfly Logo
Avatar image

Main title

Body text should be Overpass Regular at 16px. It should have leading of 24px because
of it’s relative line height of 1.5.

Tertiary nav

Skip to content
Patternfly Logo
Avatar image

Main title

Body text should be Overpass Regular at 16px. It should have leading of 24px because
of it’s relative line height of 1.5.

Manual nav

Skip to Content
Patternfly Logo
Avatar image

Main title

Body text should be Overpass Regular at 16px. It should have leading of 24px because
of it’s relative line height of 1.5.

Legacy/Light Nav

Skip to Content
Patternfly Logo
Avatar image

Main title

Body text should be Overpass Regular at 16px. It should have leading of 24px because
of it’s relative line height of 1.5.