Tabs

Tabs is a component that makes navigating between sections of related content possible, displaying one section at a time.

How to use Tabs

Use Tabs if the content can be separated into sections that make sense as standalone pieces of information. Be aware that the users will not see all the content at the same time. Make sure the first section is the most relevant one.

Code examples

Content for the first tab

Controlled Tabs

content first tab

with vertical divider

Content for the first tab

Content recommendations

  • every Tab should have concise copy
  • all content within a Tab should be related to it's label
  • to ensure an optimal cognitive load for users, do not use more than six (6) Tabs at any given time

Props

Tabs

Tab

TabPanel

TabList

Help improve this page