# Rubix Sidebar SidebarNav, SidebarNavItem, SidebarControls, SidebarControlBtn, Sidebar

# Sidebar Props

NameTypeDefaultDescription
sidebarintegerSidebar Key which is controlled by SidebarControlBtn
activebooleanfalseThe first Sidebar is active by default

# SidebarControlBtn Props

NameTypeDefaultDescription
bundlestringThe bundle the icon belongs to. E.g. "fontello"
glyphstringThe glyph contained within the bundle or the fully qualified glyph. E.g. "home" or "icon-fontello-home"
sidebarintegerKey which controls the Sidebar

# SidebarNavProps Props

NameTypeDefaultDescription
searchfunction(string searchValue)Accepts a string for searching and filtering the SidebarNavItem's

# SidebarNavItem Props

NameTypeDefaultDescription
namestringName of the sidebar item
hiddenbooleanfalseDefines a sidebar item but hides it (useful when you want a route to be defined but don't want a corresponding SidebarNavItem)
hrefstring
Route for the sidebar item.
If a route has parameter(s) then that SidebarNavItem is not clickable. E.g: /todo/edit/:id
aliasesarrayAccepts multiple route aliases
bundlestringThe bundle the icon belongs to. E.g. "fontello"
glyphstringThe glyph contained within the bundle or the fully qualified glyph. E.g. "home" or "icon-fontello-home"