Tab

Tabs organize content across different screens, data sets, and other interactions.

Horizontal tabs - Left aligned

By default tabs are aligned to left. If it needs to be centered or right aligned, change "<ul class="nav nav-tabs left to ul class="nav nav-tabs center or ul class="nav nav-tabs right

Horizontal boxed tabs with icon

Vertical tabs with icon - Default

Vertical tabs with icon - Boxed

Tabs will be displayed as collapsible accordions in mobile view

When to use

Tabs should be used for:

  • Exposing related but separate content.

  • For example, subpages or different content under the same category.

Tabs should not be used for:

  • Containing excessive information; You should consider reducing the content. Alternatively, you can consider splitting your content into different sections using properly formatted text.

  • Making comparisons or presenting tabular data; Using the table component may be more appropriate.

Last updated