Skip to content

Top nav API

The top nav component consists of two main components that work together:

import { UNSTABLE_TopNav, UNSTABLE_TopNavItem } from '@cimpress-ui/react';
UNSTABLE_TopNavProps
ReactNode
UNSTABLE_TopNavItemProps
StringLikeChildren
string

A URL to link to.

boolean
undefined

Options for the configured client side router.

string

Hints at the human language of the linked URL. SeeMDN.

HTMLAttributeAnchorTarget

The target window for the link. See MDN.

string

The relationship between the linked resource and the current page. See MDN.

string | boolean

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

How much of the referrer to send when following the link. See MDN.