Layouts

Tabs

Organize content into separate panels within a single container. Easily switch between sections without leaving the page.

For full-page navigation, use the navbar component ->

With icons

Associate tab labels with icons to visually distinguish different sections.

Padded edges

By default, the tabs will have no horizontal padding around the edges. If you want to add padding you can do by adding Tailwind utilities to the tabs and/or tab.panel components.

Segmented tabs

Tab through content with visually separated, button-like tabs. Ideal for toggling between views inside a container with a constrained width.

Segmented with icons

Combine segmented tabs with icon prefixes.

Small segmented tabs

For more compact layouts, you can use the size="sm" prop to make the tabs smaller.

Copyright © 2024 Wireable LLC · Terms of Service
Built with
by Caleb Porzio and Hugo Sainte-Marie