No Preview

Sorry, but you either have no stories or none are selected somehow.

If the problem persists, check the browser console, or the terminal you've run Storybook from.

Nav

To display the navigation links.

Examples

Set variant props to breadcrumbs to display link as breadcrumbs. Default is normal.

Use disabled and active props to highlight or disable links.

Use type props to treat items as a button. Default is link.

Set the horizontal props as true to display the list horizontally.

Usage

import { Nav, NavLink } from "ui-neu"

<Nav>
  <NavLink href="" key="1">NavLink1</NavLink>
  <NavLink href="" key="2">NavLink2</NavLink>
</Nav>

Props

Props for each of the components are included below. This is still under development and changes are anticipated to occur in upcoming releases.

NameDescriptionDefault
children
Nav will take links as components
any
-
horizontal
To display nav horizontally
bool
false
variant
To make links appear as breadcrumbs or normal
string
-
NameDescriptionDefault
children
any
-
active
To highlight any Nav
bool
-
disabled
To disable any Nav link
bool
-
href
Enter url for links
string
-
horizontal
Whether or not parent wants its child to be aligned horizontally
bool
-
variant
Whether or not parent wants its child to have breadcrumbs or normal
string
-