NIB / NIBCOMPONENTS
NibComponents — Flutter package guide
Buttons, forms, overlays, navigation and data widgets built for Flutter. Motion is an actual package dependency.
Open interactive viewGood controls, ready for real state.
Buttons, forms, overlays, navigation and data widgets built for Flutter. Motion is an actual package dependency.
Available on pub.dev
flutter pub add nib_components- 30+ themed widgets
- Flutter form and controlled-state patterns
- Optional animated state changes
Start here
Start with components
Install the published widget library and wire a control to app state.
Component catalog
Find every exported widget family by the task it handles.
Theming
Set shared colors and radii, override one control, and keep both brightness modes usable.
State and controllers
Choose a state owner, connect callbacks, and dispose only the objects you create.
Motion and reduced motion
Opt into component effects and account for the motion that lives outside that switch.
Effects
Liquid glass
Explore clear and depth water, merging drops and shared bubbles over a live Flutter subtree.
Circular loader
Show indeterminate activity with explicit pause and static reduced-motion feedback.
Skeleton
Turn one authored content tree into a loading placeholder, then reveal that same content.
Navigation
Navigation menu
Build a destination tree with flyout or inline submenus, then keep the selected destination tied to your content.
Tabs
Switch panels while keeping the header, selected content, and footer in one vertical scroll.
Breadcrumb
Navigate a local path and reveal collapsed ancestors without treating the current location as a link.
Pagination
Change a controlled page and make the displayed data follow it.
Inputs
Input and textarea
Edit a value, validate it, and keep the cursor where the user left it.
Compositions
Glass bottom navigation
Keep a floating glass bar above scrolling content while each destination retains its local state.
Liquid bottom navigation
Move a water-like selection indicator between real destinations, with badge counts and keyboard activation.
Data and layout
Accordion
Coordinate expandable sections, then decide whether several can remain open.
Cards and flip cards
Group content in a surface or reveal a second face with an explicit flip contract.
Carousel
Swipe a real PageView, navigate through its controller, and choose an indicator.
Data table
Sort task counts, select real rows, and inspect loading or empty states.
Resizable panels
Drag or nudge a real divider while respecting panel fractions and narrow-layout fallback.
Overlays
Alert dialog
Ask for a decision and distinguish confirmation, cancellation, and dismissal.
Dialog
Open a focused task, return a typed result, and choose who owns its lifetime.
Bottom sheet
Let a local task expand between snap heights and return a typed result.
Popover
Anchor a small interactive task to its trigger and close it through a local scope.
Hover card
Reveal extra context after hover intent, with a path for touch and keyboard users.
Context menu
Offer pointer and keyboard access to grouped actions, disabled entries, and nested choices.
Command palette
Search actions, drill into a group, and keep a bounded recent history.
Toast
Announce a local outcome, handle duplicate ids, and provide an undo action.
Inputs and selection
Button
A real action, a visible result, and the right busy state.
Checkbox
Choose one item or express a mixed selection.
Switch
Change a setting and show when confirmation is pending.
Radio group
Choose exactly one option with native-style arrow-key selection.
Toggle group
Press one style or combine several without inventing a controller.
Slider and range
Scrub a value or adjust a bounded interval.
Select
Choose from a fixed list, grouped or searchable.
Combobox
Search a local list, allow free text, or exercise a bounded async fixture.
Date picker
Select a date, a range, or a set of days in a bounded calendar.
One-time code input
Enter six fixture digits through the keyboard or an on-screen keypad.
Build reliable interfaces
Forms and state
Validate text, choose values, and keep input ownership clear.
Validation and forms
Build a local validation flow, understand each rule, and keep server errors distinct from drafts.
Overlays and result lifecycles
Choose a surface, control its lifetime, and understand which overlay receives it.
Accessible component composition
Name controls, preserve keyboard paths, and verify the final screen at useful text sizes.
Reference
API reference
Use the right state and overlay entry point for each control.
Platform and performance notes
Know which layout and measurement work belongs to the host app.
Troubleshooting and migration
Fix common state, validation, and layout mistakes.