Flutter Bottom Navigation Bar UI
A bottom navigation bar with five destinations and an active highlighted tab. A mobile navigation pattern built with Wind UI utility classes, dark mode ready.
WDiv(
className: 'mx-auto max-w-sm flex flex-row items-center justify-between rounded-2xl border px-6 py-3 bg-white border-gray-200 shadow-xl dark:bg-gray-900 dark:border-gray-800',
children: [
WDiv(
className: 'flex flex-col items-center gap-1',
children: [
WIcon(
Icons.home,
className: 'text-indigo-600 text-2xl dark:text-indigo-400'
),
WText(
'Home',
className: 'text-xs font-semibold text-indigo-600 dark:text-indigo-400'
)
]
),
WDiv(
className: 'flex flex-col items-center gap-1',
children: [
WIcon(
Icons.search,
className: 'text-gray-400 text-2xl dark:text-gray-500'
),
WText(
'Search',
className: 'text-xs font-medium text-gray-400 dark:text-gray-500'
)
]
),
WDiv(
className: 'flex flex-col items-center gap-1',
children: [
WIcon(
Icons.add_circle,
className: 'text-gray-400 text-2xl dark:text-gray-500'
),
WText(
'Create',
className: 'text-xs font-medium text-gray-400 dark:text-gray-500'
)
]
),
WDiv(
className: 'flex flex-col items-center gap-1',
children: [
WIcon(
Icons.notifications,
className: 'text-gray-400 text-2xl dark:text-gray-500'
),
WText(
'Alerts',
className: 'text-xs font-medium text-gray-400 dark:text-gray-500'
)
]
),
WDiv(
className: 'flex flex-col items-center gap-1',
children: [
WIcon(
Icons.person,
className: 'text-gray-400 text-2xl dark:text-gray-500'
),
WText(
'Profile',
className: 'text-xs font-medium text-gray-400 dark:text-gray-500'
)
]
),
],
)
Benzer örnekler
-
Flutter Progress Stepper Wizard with Plan Selection
A multi-step wizard header with a connected step rail (completed, active, and upcoming states) over a plan selection step and a continue button, all composed from Wind utility classes.
-
Flutter Onboarding Slide with Feature Highlight and Page Dots
A polished onboarding slide built with Wind utility classes: a gradient feature icon, a bold headline, supporting copy, page indicator dots, and a full-width call to action. Dark mode pairs are included on every color token.
-
Flutter Component Search Card with Live Suggestions
A component search card built on the real WInput widget, with a focused search field and a categorized suggestion list. Demonstrates Wind form inputs with icon tiles and dark-mode pairs.