MobileNav

Composable bottom navigation for app-owned mobile destinations.

Preview#

<MobileNavRoot>
  <MobileNavItem selected aria-label="Home">
    <Home />
    <MobileNavLabel>Home</MobileNavLabel>
  </MobileNavItem>
</MobileNavRoot>

API#WIP

PropTypeDefaultDescription
...propsuseRender.ComponentProps<"nav">Bottom navigation container. Its width and safe-area spacing follow the active theme.
PropTypeDefaultDescription
selectedbooleanMarks the destination as selected. Sets data-selected and aria-pressed when nativeButton is true.
nativeButtonbooleantrueWhen false, skip native button type/aria-pressed wiring so render can replace the host element.
...propsuseRender.ComponentProps<"button">One app-owned destination. Pass selected and native onClick from the consuming route or local state.
PropTypeDefaultDescription
...propsuseRender.ComponentProps<"span">Destination text. Brutal renders it below the icon; Elegant keeps the same semantic structure visually hidden.