Page layout

A collection of components which let you compose an application's page layout.

Deprecated

This package is deprecated. Use our new navigation system.

Installation

Package installation information
Installyarn add @atlaskit/page-layout
SourceBitbucket.org, (opens new window)
npm@atlaskit/page-layout, (opens new window)
Bundleunpkg.com, (opens new window)

Props

PageLayout props

children

Required
Description

React children!

Typestring | number | boolean | React.ReactElement<any, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | React.ReactPortal

onLeftSidebarCollapse

Description

Called when left-sidebar is collapsed.

Type(leftSidebarState: LeftSidebarState) => void

onLeftSidebarExpand

Description

Called when left-sidebar is expanded.

Type(leftSidebarState: LeftSidebarState) => void

skipLinksLabel

Description
No description.
Default"Skip to:"
Typestring

testId

Description

A testId prop is provided for specified elements, which is a unique string that appears as a data attribute data-testid in the rendered code, serving as a hook for automated tests.

Typestring

TopNavigation props

children

Required
Description

React children!

Typestring | number | boolean | React.ReactElement<any, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | React.ReactPortal

height

Description

The height of the slot.

Typenumber

id

Description
No description.
Typestring

isFixed

Description

Sets the position to fixed.

Typeboolean

shouldPersistHeight

Description

It saves the height in local storage.

Typeboolean

skipLinkTitle

Description
No description.
Typestring

testId

Description

A testId prop is provided for specified elements, which is a unique string that appears as a data attribute data-testid in the rendered code, serving as a hook for automated tests.

Typestring

Main props

children

Required
Description

React children!

Typestring | number | boolean | React.ReactElement<any, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | React.ReactPortal

id

Description
No description.
Typestring

isFixed

Description

Sets the position to fixed.

Typeboolean

shouldPersistWidth

Description

It saves the width in local storage.

Typeboolean

skipLinkTitle

Description
No description.
Typestring

testId

Description

A testId prop is provided for specified elements, which is a unique string that appears as a data attribute data-testid in the rendered code, serving as a hook for automated tests.

Typestring

width

Description

The width of the slot.

Typenumber

Content props

children

Required
Description

React children

Typestring | number | boolean | React.ReactElement<any, string | React.JSXElementConstructor<any>> | Iterable<ReactNode> | React.ReactPortal

testId

Description

A testId prop is provided for specified elements, which is a unique string that appears as a data attribute data-testid in the rendered code, serving as a hook for automated tests.

Typestring

LeftSidebarWithoutResize props

children

Required
Description

React children!

Typestring | number | boolean | React.ReactElement<any, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | React.ReactPortal

id

Description
No description.
Typestring

isFixed

Description

Sets the position to fixed.

Typeboolean

shouldPersistWidth

Description

It saves the width in local storage.

Typeboolean

skipLinkTitle

Description
No description.
Typestring

testId

Description

A testId prop is provided for specified elements, which is a unique string that appears as a data attribute data-testid in the rendered code, serving as a hook for automated tests.

Typestring

width

Description

The width of the slot.

Typenumber

LeftPanel props

children

Required
Description

React children!

Typestring | number | boolean | React.ReactElement<any, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | React.ReactPortal

id

Description
No description.
Typestring

isFixed

Description

Sets the position to fixed.

Typeboolean

shouldPersistWidth

Description

It saves the width in local storage.

Typeboolean

skipLinkTitle

Description
No description.
Typestring

testId

Description

A testId prop is provided for specified elements, which is a unique string that appears as a data attribute data-testid in the rendered code, serving as a hook for automated tests.

Typestring

width

Description

The width of the slot.

Typenumber

RightPanel props

children

Required
Description

React children!

Typestring | number | boolean | React.ReactElement<any, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | React.ReactPortal

id

Description
No description.
Typestring

isFixed

Description

Sets the position to fixed.

Typeboolean

shouldPersistWidth

Description

It saves the width in local storage.

Typeboolean

skipLinkTitle

Description
No description.
Typestring

testId

Description

A testId prop is provided for specified elements, which is a unique string that appears as a data attribute data-testid in the rendered code, serving as a hook for automated tests.

Typestring

width

Description

The width of the slot.

Typenumber
Was this page helpful?
We use this feedback to improve our documentation.
© 2026 AtlassianTrademark, (opens new window)Privacy, (opens new window)License