Read page as text

NIB / PLAYGROUND

Liquid bottom navigation playground — NibComponents

Try liquid bottom navigation in Flutter. Move a water-like selection indicator between real destinations, with badge counts and keyboard activation.

Open interactive view

Move a water-like selection indicator between real destinations, with badge counts and keyboard activation.

Read the full component guide and API

Public widgets and APIs

  • NibNavBar
  • NibNavItem
  • NibNavBadge
  • NibNavBarStyle
  • NibNavIndicatorStyle
  • NibNavIndicatorType
  • NibNavItemAnimation

Example Dart code

import 'package:nib_motion/nib_motion.dart' as motion;

motion.NibNavBar(
  currentIndex: selectedIndex,
  onIndexChanged: (index) => setState(() => selectedIndex = index),
  indicator: const motion.NibNavIndicatorStyle(
    type: motion.NibNavIndicatorType.liquid,
  ),
  items: const [
    motion.NibNavItem(icon: Icon(Icons.home), label: 'Home'),
    motion.NibNavItem(icon: Icon(Icons.inbox), label: 'Inbox'),
  ],
)

Playground controls

ControlTypeOptions or rangeHelp
First destination labeltextLong labels are ellipsized visually; the semantic label retains the full text.
Inbox badge countnumber0.0–120.0Zero hides the badge. Counts above 99 display 99+.
MotiontoggleOn is the NibNavBar default. Off applies a local reduced-motion scope; system preference takes priority.
Bar bordertoggle

Composition using nib_motion 0.3.4 and nib_components 0.2.2 local candidates. It is not an additional public Components widget.

Physical Android/iOS touch, native safe areas, screen readers and GPU paths are not certified by the bounded Flutter preview.

Pointer-down commits selection; cancelling a pointer does not restore the previous destination. Drag-to-select is not implemented.