Components
TabNavigation
Provides shared context (variant, size, fullWidth) to its tab links for router-based navigation. Import from "@instruments/materia-ui/components/tab-navigation". Shares styling with the Tabs component.
Usage
Best practices
Use
TabNavigationwhen each tab is a route/URL (it renders a<nav>of links); for in-page panels that swap without navigating, useTabs.It shares the Tabs look via context but defaults to
variant="line"; mark the active link yourself (e.g. routeraria-current) - there's no Base UI value tracking here.
Props
TabNavigation
TabNavigationLink
TabNavigationList
Also exports
- const
tabNavigationAnatomy