NIB / PLAYGROUND
Navigation menu playground — NibComponents
Try navigation menu in Flutter. Build a destination tree with flyout or inline submenus, then keep the selected destination tied to your content.
Open interactive viewBuild a destination tree with flyout or inline submenus, then keep the selected destination tied to your content.
Read the full component guide and API
Public widgets and APIs
- NibNavigationMenu
- NibNavItem
- NibNavMenuController
- NibNavMenuOrientation
Example Dart code
String selected = 'home';
NibNavigationMenu(
activeItemId: selected,
items: const [
NibNavItem(id: 'home', label: 'Home'),
NibNavItem(id: 'settings', label: 'Settings'),
],
onItemSelected: (id) => setState(() => selected = id),
)Playground controls
| Control | Type | Options or range | Help |
|---|---|---|---|
| Overview label | text | ||
| Vertical inline menus | toggle | ||
| Disable Monthly destination | toggle | ||
| Allow multiple open (vertical) | toggle | ||
| Animate opened submenus | toggle |
This menu does not own a browser router or page history.
This is not the NibMotion bottom navigation widget.
Changing the preview orientation remounts the menu to dismiss its old overlay; destination content remains selected.