Read page as text

NIB / PLAYGROUND

Tabs playground — NibComponents

Try tabs in Flutter. Switch panels while keeping the header, selected content, and footer in one vertical scroll.

Open interactive view

Switch panels while keeping the header, selected content, and footer in one vertical scroll.

Read the full component guide and API

Public widgets and APIs

  • NibTab
  • NibTabs
  • NibTabsController
  • NibTabsIndicatorStyle

Example Dart code

SizedBox(
  height: 320,
  child: NibTabs(tabs: [
    NibTab(label: 'Overview', builder: (_) => const Text('Overview content')),
    NibTab(label: 'Notes', builder: (_) => const Text('Notes content')),
  ]),
)

Playground controls

ControlTypeOptions or rangeHelp
Indicatorchoiceunderline, pill, none
Scrollable tab bartoggle
Allow swipe between panelstoggle
Animate panel fadetoggle
Panel gapnumber0.0–40.0