Skip to main content Red Hat Design System logo Contribute on Github


Overview Style Guidelines Code Accessibility


Tabs are used to organize and navigate between sections of content. They feature a horizontal or a vertical list of section text labels with a content panel below or to the right of the component.

Image of open tabs, box tabs, and tabs with overflow buttons


What do these mean?
Figma library:
RH Elements:

Sample element

Connected clouds Connected clouds panel Elevated apps Elevated apps panel Automated tasks Automated tasks panel


<rh-tab id="users" slot="tab">Users</rh-tab>
<rh-tab slot="tab">Containers</rh-tab>
<rh-tab-panel>Containers <a href="#">Focusable element</a></rh-tab-panel>
<rh-tab slot="tab">Database</rh-tab>
<rh-tab slot="tab">Servers</rh-tab>
<rh-tab slot="tab">Cloud</rh-tab>

<script type="module">
import '@rhds/elements/rh-tabs/rh-tabs.js';

Full screen demo

When to use

  • When you need to group related information into different categories
  • When users need to read sections of content in the same view without leaving the page
  • When you need to group other types of content in the same view like forms, settings, dashboards, etc.
Property Status Meaning
Figma library Ready Component is available in the Figma library
Responsive Ready Component responds to changing viewport sizes in Figma and the browser
RH Elements Ready Component is available as a web component
webRH Ready Component is available as a web component
© 2021-2024 Red Hat, Inc. Deploys by Netlify