Skip to main content

NavItem

warning

This component is still under development, we advise you to wait before using in your mashups

A Navigation item#

Usage#

A Nav item to navigate to different pages. Recommended for use in the Sidebar component of a multi-page app.

import { NavItem } from @motor-js/core
//...
<NavItem
path="/sales"
name="Executive Sales"
css="fa fa-fw fa-home"
key="2"
/>

Props#

PropDescriptionOptions / Example
pathNavItem pathstring
nameNavItem namestring
cssNavItem cssstring
keyNavItem keynumber