docs/components/navigation/MobileBottomBar

MobileBottomBar

Mobile bottom action bar.

import { MobileBottomBar } from '@ybouhjira/hyperkit';

#Playground

Edit the code β€” the preview recompiles and re-renders as you type.

Live playground
Loading preview…

#Props

PropTypeDefaultDescription
items *MobileBottomBarItem[]β€”Navigation items rendered left-to-right. 2-5 items is the recommended range.
activeIdstringβ€”Currently active item id. If unset, no item is highlighted.
onSelect(id: string) => voidβ€”Called when a user taps a non-disabled item.
hiddenbooleanfalseWhen true, the bar renders nothing. The primitive itself is viewport-agnostic β€” consumers use useBreakpoint() (or their own logic) to decide when to hide it on larger screens.
'aria-label'string'Primary'Accessible label for the
classstringβ€”Additional class applied to the root
styleJSX.CSSPropertiesβ€”Inline style merged onto the root

* required prop.

HyperKit β€” MIT Β© 2024–2026 contributorsnpmDocsDemos