Forma 36

Tabs

StorybookGithub
stable

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

Table of contents

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

with vertical divider

as navigation

used with TabPanel

ReferenceError: selected is not defined

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