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 viewSwitch 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
| Control | Type | Options or range | Help |
|---|---|---|---|
| Indicator | choice | underline, pill, none | |
| Scrollable tab bar | toggle | ||
| Allow swipe between panels | toggle | ||
| Animate panel fade | toggle | ||
| Panel gap | number | 0.0–40.0 |