Tabs

Tabs are used to organise related content into navigable sections within a single interface.

tabs/main

Resources

Intro & Anatomy

Tabs divide content into distinct sections, allowing users to switch between different views whilst staying on the same page.

Use tabs when you need to present related information categories that users can explore independently, such as account settings, product details, or feature comparisons.

When a user selects a tab, only that tab's content appears in the display area whilst other sections remain hidden. Each tab should contain content that logically belongs together and contributes to the overall purpose of the interface. Typical applications include configuration panels, item specifications, and categorised information displays.

tabs/anatomy

 


 

Options & Styles

Label & Icon

Labels are mandatory and should clearly identify each tab's content.
Tab labels can be displayed with or without icons, but keep all labels within a tab group consistent in format and style.

tabs/textIcon

States

Active and default tabs both have default, hover and error states to provide clear visual feedback about current selection and interactive elements.

tabs/states

Disabled

Disabled tabs show when certain sections aren't currently available, though this should be used sparingly to maintain clear navigation paths.

tabs/disabled

 


 

Best Practice & Usage

Tabs should organise related content efficiently whilst maintaining clear navigation and consistent labelling. Use tabs to reduce cognitive load and improve content accessibility.

Ref to 332:12590
Ref to 332:12598
Ref to 202:4231
Ref to 202:4346
Ref to 331:12479
Ref to 331:12481
Ref to 331:12487
Ref to 331:12489
Ref to 202:4239
Ref to 202:4362

 


 

Theming

You can customise colours, font styles and weights, border widths and radius, and spacing to match your design requirements.

When not using MDX icons, a slot is available to use your own icon library or SVG icons within tooltip content.