Skip to content

Side navigation API

import {
UNSTABLE_SideNav,
UNSTABLE_SideNavList,
UNSTABLE_SideNavListItem,
UNSTABLE_SideNavListSection,
} from '@cimpress-ui/react';
UNSTABLE_SideNavProps
ReactNode
boolean | ({ defaultCollapsed?: true; isCollapsed?: boolean; onCollapseChange?: (isCollapsed: boolean) => void })

Determines if the side navigation can be collapsed down to an icon-only rail, allowing for more screen space when needed.

Setting to true will enable collapsibility. Passing an object allows for more advanced configuration, including fully controlled usage outside app shell context.

UNSTABLE_SideNavListProps
ReactNode
UNSTABLE_SideNavListItemProps
StringLikeChildren
string
boolean
ReactNode
UNSTABLE_SideNavListSectionProps
ReactNode
string