docs/components/navigation/MobileNav

MobileNav

Bottom navigation bar for mobile.

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

Static examples

This component depends on app-level context (providers, services, or interactive setup) that does not fit the inline playground yet, so its examples are shown as static code.

#Props

PropTypeDefaultDescription
sessions *MobileNavSession[]
activeSessionIdstring
onSessionSelect(id: string) => void
hideAboveBreakpoint
classstring

* required prop.

#Design Tokens

This component reads the following CSS custom properties. Override them globally or per-instance to restyle it — see the CSS Variables guide.

  • --sk-bg-primary
  • --sk-border
  • --sk-duration-fast
  • --sk-duration-normal
  • --sk-duration-pulse
  • --sk-ease-default
  • --sk-ease-in-out
  • --sk-error
  • --sk-font-sm
  • --sk-space-md
  • --sk-space-sm
  • --sk-success
  • --sk-text-muted
  • --sk-text-primary
  • --sk-z-sticky