Navbar

The navbar component is a traditional navbar with link items. In smaller screen sizes it becomes an expandable menu. You can load all the nav items with an array directly on the creation of the component. To load items dynamically as the user traverses down the tree of sub menu items is also an option. This is done with javascript and a request to a JSON file.

Parameters (Blade)

Key Default value Type Available values Description
string - A link to a logo
[] array - An array of links
false boolean - If set to true the toggle will toggle sidebar
false boolean - Data for expanded menu
false boolean - -
string - The DOM id of the component.
[] array - Array containing wrapping classes array
[] array - Array containing keys and values rendered as attributes