Skip to main content

Examples

Default

Selected State

With Badges

Information Architecture Nav – Selected State

Props

BottomNavigation

boolean
default:"false"
When true, renders the information-architecture style with visible labels and a sliding active indicator.
boolean
default:"false"
When true, the navigation bar is hidden on viewports wider than md (768 px).
((value: string) => void)
Called when the selected action changes.
string
The currently selected action value.

BottomNavigationAction

ReactElement<unknown, string | JSXElementConstructor<any>>
required
Icon element displayed in the action.
string
required
Unique value that identifies this action.
boolean
default:"false"
Merge props onto a child element instead of rendering a <button>.
ReactNode
Optional badge element (e.g. Count) rendered at the top-end corner of the icon.
string
Accessible label applied as aria-label.

Exported types

Also exported from @fanvue/ui: BottomNavigationActionProps, BottomNavigationProps.
Setup: Installation · Theming