Tab Nav
Native Solid 2 fork. Original documentation and designs © WorkOS; historical posts retain their original context.
API Reference
This component is based on the Navigation Menu primitive and supports common margin props.
Root
Contains the navigation menu links.
Link
An individual navigation menu link.
Examples
Size
Use the size prop to control the size of the tabs.
Color
Use the color prop to assign a specific color to the tab list.
High-contrast
Use the highContrast prop to increase color contrast with the background.
With router links
Use the asChild prop to compose TabNav.Link with your app’s router link component.