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.
To display the navigation links.
Set
variant
props tobreadcrumbs
to display link as breadcrumbs. Default isnormal
.
Use
disabled
andactive
props to highlight or disable links.
Use
type
props to treat items as abutton
. Default islink
.
Set the
horizontal
props astrue
to display the list horizontally.
import { Nav, NavLink } from "ui-neu"
Props for each of the components are included below. This is still under development and changes are anticipated to occur in upcoming releases.
Name | Description | Default |
---|---|---|
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 | - |
Name | Description | Default |
---|---|---|
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 | - |