Nav list API
Import
Section titled “Import”import { UNSTABLE_NavList, UNSTABLE_NavListGroup, UNSTABLE_NavListItem } from '@cimpress-ui/react';API reference
Section titled “API reference”UNSTABLE_NavList
Section titled “UNSTABLE_NavList”Displays a vertical navigation list.
UNSTABLE_NavListProps
- ReactNode
children *
Section titled “children * ”
UNSTABLE_NavListItem
Section titled “UNSTABLE_NavListItem”Displays a single navigation item.
UNSTABLE_NavListItemProps
- StringLikeChildren
children *
Section titled “children * ” - ReactNode
- string
A URL to link to.
- boolean
isCurrent
Section titled “isCurrent” - boolean
isDisabled
Section titled “isDisabled” - undefined
routerOptions
Section titled “routerOptions” Options for the configured client side router.
- string
hrefLang
Section titled “hrefLang” Hints at the human language of the linked URL. SeeMDN.
- HTMLAttributeAnchorTarget
target
Section titled “target” The target window for the link. See MDN.
- string
The relationship between the linked resource and the current page. See MDN.
- string | boolean
download
Section titled “download” Causes the browser to download the linked URL. A string may be provided to suggest a file name. See MDN.
- string
A space-separated list of URLs to ping when the link is followed. See MDN.
- HTMLAttributeReferrerPolicy
referrerPolicy
Section titled “referrerPolicy” How much of the referrer to send when following the link. See MDN.
UNSTABLE_NavListGroup
Section titled “UNSTABLE_NavListGroup”Displays an expandable navigation item group.
UNSTABLE_NavListGroupProps
- ReactNode
children *
Section titled “children * ” - StringLikeChildren
label *
Section titled “label * ” - ReactNode
- boolean
isExpanded
Section titled “isExpanded” - boolean
defaultExpanded
Section titled “defaultExpanded” - (isExpanded: boolean) => void
onExpandedChange
Section titled “onExpandedChange” - boolean
isDisabled
Section titled “isDisabled”