Read page as text

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 view

Build 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

ControlTypeOptions or rangeHelp
Overview labeltext
Vertical inline menustoggle
Disable Monthly destinationtoggle
Allow multiple open (vertical)toggle
Animate opened submenustoggle

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.