Skip to content

Side navigation API

import {
UNSTABLE_SideNav,
UNSTABLE_SideNavList,
UNSTABLE_SideNavListItem,
UNSTABLE_SideNavListSection,
} from '@cimpress-ui/react';
UNSTABLE_SideNavProps
ReactNode
boolean
(isOpen: boolean) => void
'fixed' | 'overlay'

Determines how the side nav is displayed and behaves.

  • overlay: The side nav slides in as an overlay on top of the main content. This is used when all available screen space is needed for the main content.
  • fixed: The side nav is fixed to the side and includes an expand button to toggle between a compact icon-only view and an expanded view showing labels. On smaller screens, it slides in as an overlay.
Defaults to 'fixed' .
UNSTABLE_SideNavListProps
ReactNode
UNSTABLE_SideNavListItemProps
StringLikeChildren
string
boolean
ReactNode
UNSTABLE_SideNavListSectionProps
ReactNode
string