Some features from this component may require sgds.js
Overview
Tabs organize content across different screens, data sets, and other interactions.
Interactive Demo
This demo lets you preview the tab component and its variations. Each tab displays a different type of tab.
Tab 1 Content
Tab 2 Content
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Deleniti deserunt enim illo impedit libero, temporibus veritatis. Deserunt, fugit quasi! Voluptates!
Tab 3 Content
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Adipisci aliquid aspernatur beatae, dolores ea eum illo quasi reprehenderit sequi vero?
Usage
For Tab Selectors
For Tab Content
Styles
Modifier | Description |
---|---|
is-boxed | Use when you want a border |
is-toggle | Use when you want to have toggle buttons |
is-centered | Use when you want position your toggle buttons at the center |
is-small is-medium is-large |
Use when you want to change the size of your tabs |
Examples
Boxed
Toggle
Centered
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.
Can't find a component?
Let us know what you need and we’ll be happy to look into it