PatternFly

Tabs

Tabs allow users to navigate between views within the same page or context.

Examples

Default tabs

A <Tabs> component contains multiple <Tab> components that may be used to navigate between sets of content within a page.

You can adjust a tab in the following ways:

  • To label a tab with text, pass a <TabTitleText> component into the title property of a <Tab>.
  • To disable a tab, use the isDisabled property. Tabs using isDisabled are not perceivable or operable by users navigating via assistive technologies.
  • To disable a tab, but keep it perceivable to assistive technology users, use the isAriaDisabled property. If a disabled tab has a tooltip, use this property instead of isDisabled.
  • To add a tooltip to an aria-disabled tab, use the tooltip property.

Tabs can be styled as 'default' or 'boxed':

  • Default tabs do not have any borders and use a bottom line to distinguish between a selected tab, a hovered tab, and an inactive tab.
  • Boxed tabs are outlined to emphasize the area that a tab spans. To preview boxed tabs in the following examples, select the 'isBox' checkbox, which sets the isBox property to true.
Users

Boxed light tabs

To change the background color of boxed tabs, use the variant property.

The following example passes variant={isTabsLightScheme ? 'light300' : 'default'} into the <Tabs> component to style the tabs with a lighter color.

Toggle the tab color by selecting the 'Tabs light variation' checkbox in the following example.

Users

Vertical tabs

Vertical tabs are placed on the left-hand side of a page or container and may appear in both 'default' and 'boxed' tab variations.

To style tabs vertically, use the isVertical property.

Users

Vertical expandable tabs

Vertical tabs can be made expandable to save space. Users can select the caret to expand a menu and switch between tabs.

Expandable tabs can be enabled at different breakpoints. The following example passes expandable={{ default: 'expandable', md: 'nonExpandable', lg: 'expandable' }} into the <Tabs> component.

To flag vertical tabs when they're expanded, use the isExpanded property.

Users

Vertical expandable uncontrolled

To flag the default expanded state for uncontrolled tabs, use the defaultIsExpanded property.

Users

Default overflow tabs

By default, overflow is applied when there are too many tabs for the width of the container they are in. This overflow can be navigated by side-scrolling within the tabs section, or by selecting the left and right arrows.

Users

Horizontal overflow tabs

Horizontal overflow can be used instead of the default application. To navigate horizontal overflow tabs users can select the last tab, labeled “more”, to see the overflowed content.

To enable horizontal overflow, use the isOverflowHorizontal property.

In the following example, select the 'Show overflowing tab count' checkbox to add a count of overflow items to the final “more” tab.

Users

With tooltip react ref

When using a React ref to link a tooltip to a tab component via the reference property, you should avoid manually passing in a value of "off" to the aria-live property. Doing so may cause the tooltip to become less accessible to assistive technologies.

The tooltip should also have the id property passed in. The value of id should be passed into the tab's aria-describedby property. This ensures a tooltip used with a React ref will be announced by the JAWS and NVDA screen readers.

Users

Uncontrolled tabs

To allow the <Tabs> component to manage setting the active tab and displaying correct content itself, use uncontrolled tabs, as shown in the following example.

Users

With adjusted inset

To adjust the inset of tabs and visually separate them more, use the inset property. You can set the inset to "insetNone", "insetSm", "insetMd", "insetLg", "insetXl", or "inset2xl" at "default", "sm", "md", "lg, "xl, and "2xl" breakpoints.

Users

With page insets

To adjust the left padding of tabs, use the usePageInsets property. This property aligns the tabs padding with the default padding of the page section, which makes it easier to align tabs with page section content.

Users

With icons and text

You can render different content in the title property of a tab to add icons and text.

To add an icon to a tab, pass a <TabTitleIcon> component that contains the icon of your choice into the title. To use an icon alongside styled text, keep the text in the <TabTitleText> component.

Users

Secondary tabs

Use secondary tabs as "sub tabs" or within other components, like modals. Secondary tabs have less visually prominent styling.

To apply secondary styling to tabs, use the isSecondary property.

Filled tabs with icons

To allow tabs to fill the available width of the page section, use the isFilled property.

Users

Tabs linked to nav elements

To let tabs link to nav elements, pass {TabsComponent.nav} into the component property.

Nav tabs should use the href property to link the tab to the URL of another page or page section. A tab with an href will render as an <a> instead of a <button>.

Users

Secondary tabs linked to nav elements

Secondary tabs can also link to nav elements.

With separate content

If a <TabContent> component is defined outside of a <Tabs> component, use the tabContentRef and tabContentId properties

Tab 1 section

With tab content with body and padding

To add a content body to a <TabContent> component, pass a <TabContentBody>. To add padding to the body section, use the hasPadding property.

Tab 1 section with body and padding

Children mounting on click

To mount tab children (add to the DOM) when a tab is clicked, use the mountOnEnter property.

Note that this property does not create the tab children until the tab is clicked, so they are not preloaded into the DOM.

Tab 1 section

Unmounting invisible children

To unmount tab children (remove from the DOM) when they are no longer visible, use the unmountOnExit property.

Tab 1 section

Toggled tab content

You may control tabs from outside of the tabs component. For example, select the "Hide tab 2" button below to make "Tab item 2" invisible.

The tab its content should only be mounted when the tab is visible.


Tab 1 section

Dynamic tabs

To enable closeable tabs, pass the onClose property to the <Tabs> component. To enable a button that adds new tabs, pass the onAdd property to <Tabs>.

Terminal 1

With help action popover

You may add a help action to a tab to provide users with additional context in a popover.

To render an action beside the tab content, use the actions property of a <Tab>. Pass a popover and a <TabsAction> component into the actions property.

Users

With help and close actions

To add multiple actions to a tab, create a <TabAction> component for each action.

The following example passes in both help popover and close actions.

Terminal 1

Props

Tabs

*required
NameTypeDefaultDescription
childrenrequiredTabsChild | TabsChild[]Content rendered inside the tabs component. Only `Tab` components or expressions resulting in a falsy value are allowed here.
activeKeynumber | string0The index of the active tab
addButtonAriaLabelstringAria-label for the add button
aria-labelstringProvides an accessible label for the tabs. Labels should be unique for each set of tabs that are present on a page. When component is set to nav, this prop should be defined to differentiate the tabs from other navigation regions on the page.
backScrollAriaLabelstring'Scroll back'Aria-label for the back scroll button
classNamestringAdditional classes added to the tabs
component'div' | 'nav'TabsComponent.divDetermines what tag is used around the tabs. Use "nav" to define the tabs inside a navigation region
defaultActiveKeynumber | stringThe index of the default active tab. Set this for uncontrolled Tabs
defaultIsExpandedbooleanFlag indicating the default expanded state for uncontrolled expand/collapse of
expandable{ default?: 'expandable' | 'nonExpandable'; sm?: 'expandable' | 'nonExpandable'; md?: 'expandable' | 'nonExpandable'; lg?: 'expandable' | 'nonExpandable'; xl?: 'expandable' | 'nonExpandable'; '2xl'?: 'expandable' | 'nonExpandable'; }Enable expandable vertical tabs at various breakpoints. (isVertical should be set to true for this to work)
forwardScrollAriaLabelstring'Scroll forward'Aria-label for the forward scroll button
hasNoBorderBottombooleanfalseDisables border bottom tab styling on tabs. Defaults to false. To remove the bottom border, set this prop to true.
idstringUniquely identifies the tabs
inset{ default?: 'insetNone' | 'insetSm' | 'insetMd' | 'insetLg' | 'insetXl' | 'inset2xl'; sm?: 'insetNone' | 'insetSm' | 'insetMd' | 'insetLg' | 'insetXl' | 'inset2xl'; md?: 'insetNone' | 'insetSm' | 'insetMd' | 'insetLg' | 'insetXl' | 'inset2xl'; lg?: 'insetNone' | 'insetSm' | 'insetMd' | 'insetLg' | 'insetXl' | 'inset2xl'; xl?: 'insetNone' | 'insetSm' | 'insetMd' | 'insetLg' | 'insetXl' | 'inset2xl'; '2xl'?: 'insetNone' | 'insetSm' | 'insetMd' | 'insetLg' | 'insetXl' | 'inset2xl'; }Insets at various breakpoints.
isBoxbooleanfalseEnables box styling to the tab component
isExpandedbooleanFlag to indicate if the vertical tabs are expanded
isFilledbooleanfalseEnables the filled tab list layout
isOverflowHorizontalboolean | HorizontalOverflowObjectFlag which places overflowing tabs into a menu triggered by the last tab. Additionally an object can be passed with custom settings for the overflow tab.
isSecondarybooleanfalseEnables secondary tab styling
isVerticalbooleanfalseEnables vertical tab styling
Deprecated: leftScrollAriaLabelstring'Scroll left'Please use backScrollAriaLabel. Aria-label for the left scroll button
mountOnEnterbooleanfalseWaits until the first "enter" transition to mount tab children (add them to the DOM)
onAdd(event: React.MouseEvent<HTMLElement, MouseEvent>) => voidCallback for the add button. Passing this property inserts the add button
onClose(event: React.MouseEvent<HTMLElement, MouseEvent>, eventKey: number | string) => voidCallback to handle tab closing and adds a basic close button to all tabs. This is overridden by the tab actions property.
onSelect(event: React.MouseEvent<HTMLElement, MouseEvent>, eventKey: number | string) => void() => undefined as anyCallback to handle tab selection
onToggle(event: React.MouseEvent, isExpanded: boolean) => void(_event: React.MouseEvent, _isExpanded: boolean): void => undefinedCallback function to toggle the expandable tabs.
ouiaIdnumber | stringValue to overwrite the randomly generated data-ouia-component-id.
ouiaSafebooleantrueSet the value of data-ouia-safe. Only set to true when the component is in a static state, i.e. no animations are occurring. At all other times, this value must be false.
Deprecated: rightScrollAriaLabelstring'Scroll right'Please use forwardScrollAriaLabel. Aria-label for the right scroll button
toggleAriaLabelstringAria-label for the expandable toggle
toggleTextstringText that appears in the expandable toggle
unmountOnExitbooleanfalseUnmounts tab children (removes them from the DOM) when they are no longer visible
usePageInsetsbooleanFlag indicates that the tabs should use page insets.
variant'default' | 'light300''default'Tabs background color variant

Tab

*required
NameTypeDefaultDescription
eventKeyrequirednumber | stringuniquely identifies the tab
titlerequiredReact.ReactNodeContent rendered in the tab title. Should be <TabTitleText> and/or <TabTitleIcon> for proper styling.
actionsReact.ReactNodeActions rendered beside the tab content
childrenReact.ReactNodecontent rendered inside the Tab content area.
classNamestringadditional classes added to the Tab
closeButtonAriaLabelstringAria-label for the close button added by passing the onClose property to Tabs.
hrefstringURL associated with the Tab. A Tab with an href will render as an <a> instead of a <button>. A Tab inside a <Tabs component="nav"> should have an href.
inoperableEventsstring[]Events to prevent when the button is in an aria-disabled state
isAriaDisabledbooleanAdds disabled styling and communicates that the button is disabled using the aria-disabled html attribute
isCloseDisabledbooleanFlag indicating the close button should be disabled
isDisabledbooleanAdds disabled styling and disables the button using the disabled html attribute
isHiddenbooleanwhether to render the tab or not
ouiaIdnumber | stringValue to set the data-ouia-component-id for the tab button.
tabContentIdstring | numberchild id for case in which a TabContent section is defined outside of a Tabs component
tabContentRefReact.RefObject<any>child reference for case in which a TabContent section is defined outside of a Tabs component
tooltipReact.ReactElement<any>Optional Tooltip rendered to a Tab. Should be <Tooltip> with appropriate props for proper rendering.

TabContent

*required
NameTypeDefaultDescription
idrequiredstringid passed from parent to identify the content section
activeKeynumber | stringIdentifies the active Tab
aria-labelstringtitle of controlling Tab if used outside Tabs component
childReact.ReactElement<any>Child to show in the content area
childrenanycontent rendered inside the tab content area if used outside Tabs component
classNamestringclass of tab content area if used outside Tabs component
eventKeynumber | stringuniquely identifies the controlling Tab if used outside Tabs component
ouiaIdnumber | stringValue to overwrite the randomly generated data-ouia-component-id.
ouiaSafebooleanSet the value of data-ouia-safe. Only set to true when the component is in a static state, i.e. no animations are occurring. At all other times, this value must be false.

TabTitleText

*required
NameTypeDefaultDescription
childrenrequiredReact.ReactNodeText to be rendered inside the tab button title.
classNamestring''additional classes added to the tab title text

TabTitleIcon

*required
NameTypeDefaultDescription
childrenrequiredReact.ReactNodeIcon to be rendered inside the tab button title.
classNamestring''additional classes added to the tab title icon

TabAction

*required
NameTypeDefaultDescription
aria-labelstringAccessible label for the tab action
childrenReact.ReactNodeContent rendered in the tab action
classNamestringAdditional classes added to the tab action span
isDisabledbooleanFlag indicating if the tab action is disabled
onClick(event: React.MouseEvent<HTMLElement, MouseEvent>) => voidClick callback for tab action button

CSS variables

Expand or collapse columnSelectorVariableValue
.pf-v5-c-tabs--pf-v5-c-tabs--inset
0
.pf-v5-c-tabs--pf-v5-c-tabs--Width
auto
.pf-v5-c-tabs--pf-v5-c-tabs--before--BorderColor
#d2d2d2
.pf-v5-c-tabs--pf-v5-c-tabs--before--border-width--base
1px
.pf-v5-c-tabs--pf-v5-c-tabs--before--BorderTopWidth
0
.pf-v5-c-tabs--pf-v5-c-tabs--before--BorderRightWidth
0
.pf-v5-c-tabs--pf-v5-c-tabs--before--BorderBottomWidth
1px
.pf-v5-c-tabs--pf-v5-c-tabs--before--BorderLeftWidth
0
.pf-v5-c-tabs--pf-v5-c-tabs--m-vertical--inset
1.5rem
.pf-v5-c-tabs--pf-v5-c-tabs--m-page-insets--inset
1rem
.pf-v5-c-tabs--pf-v5-c-tabs--m-page-insets--xl--inset
1.5rem
.pf-v5-c-tabs--pf-v5-c-tabs--m-vertical--Width
100%
.pf-v5-c-tabs--pf-v5-c-tabs--m-vertical--MaxWidth
15.625rem
.pf-v5-c-tabs--pf-v5-c-tabs--m-vertical--m-box--inset
2rem
.pf-v5-c-tabs--pf-v5-c-tabs--m-vertical__list--before--BorderColor
#d2d2d2
.pf-v5-c-tabs--pf-v5-c-tabs--m-vertical__list--before--BorderTopWidth
0
.pf-v5-c-tabs--pf-v5-c-tabs--m-vertical__list--before--BorderRightWidth
0
.pf-v5-c-tabs--pf-v5-c-tabs--m-vertical__list--before--BorderBottomWidth
0
.pf-v5-c-tabs--pf-v5-c-tabs--m-vertical__list--before--BorderLeftWidth
1px
.pf-v5-c-tabs--pf-v5-c-tabs--m-box__item--m-current--first-child__link--before--BorderLeftWidth
1px
.pf-v5-c-tabs--pf-v5-c-tabs--m-box__item--m-current--last-child__link--before--BorderRightWidth
1px
.pf-v5-c-tabs--pf-v5-c-tabs--m-color-scheme--light-300__link--BackgroundColor
transparent
.pf-v5-c-tabs--pf-v5-c-tabs--m-color-scheme--light-300__item--m-current__link--BackgroundColor
#f0f0f0
.pf-v5-c-tabs--pf-v5-c-tabs--m-color-scheme--light-300__link--disabled--BackgroundColor
#f5f5f5
.pf-v5-c-tabs--pf-v5-c-tabs__list--Display
flex
.pf-v5-c-tabs--pf-v5-c-tabs__item--m-action--before--ZIndex
100
.pf-v5-c-tabs--pf-v5-c-tabs__link--Color
#6a6e73
.pf-v5-c-tabs--pf-v5-c-tabs__link--FontSize
1rem
.pf-v5-c-tabs--pf-v5-c-tabs__link--BackgroundColor
transparent
.pf-v5-c-tabs--pf-v5-c-tabs__link--OutlineOffset
calc(-1 * 0.375rem)
.pf-v5-c-tabs--pf-v5-c-tabs__link--PaddingTop
0.5rem
.pf-v5-c-tabs--pf-v5-c-tabs__link--PaddingRight
1rem
.pf-v5-c-tabs--pf-v5-c-tabs__link--PaddingBottom
0.5rem
.pf-v5-c-tabs--pf-v5-c-tabs__link--PaddingLeft
1rem
.pf-v5-c-tabs--pf-v5-c-tabs__link--disabled--Color
#6a6e73
.pf-v5-c-tabs--pf-v5-c-tabs__link--disabled--BackgroundColor
#f5f5f5
.pf-v5-c-tabs--pf-v5-c-tabs__item--m-current__link--Color
#151515
.pf-v5-c-tabs--pf-v5-c-tabs__item--m-current__link--BackgroundColor
#fff
.pf-v5-c-tabs--pf-v5-c-tabs--m-vertical__link--PaddingTop
1rem
.pf-v5-c-tabs--pf-v5-c-tabs--m-vertical__link--PaddingBottom
1rem
.pf-v5-c-tabs--pf-v5-c-tabs--m-box__link--BackgroundColor
#f0f0f0
.pf-v5-c-tabs--pf-v5-c-tabs--m-box__link--disabled--BackgroundColor
#d2d2d2
.pf-v5-c-tabs--pf-v5-c-tabs--m-box__item-action--c-button--disabled--BackgroundColor
#b8bbbe
.pf-v5-c-tabs--pf-v5-c-tabs--m-secondary__link--FontSize
0.875rem
.pf-v5-c-tabs--pf-v5-c-tabs__item--m-action__link--PaddingRight
0.25rem
.pf-v5-c-tabs--pf-v5-c-tabs__link--before--border-color--base
#d2d2d2
.pf-v5-c-tabs--pf-v5-c-tabs__link--before--border-width--base
1px
.pf-v5-c-tabs--pf-v5-c-tabs__link--before--BorderTopColor
#d2d2d2
.pf-v5-c-tabs--pf-v5-c-tabs__link--before--BorderRightColor
#d2d2d2
.pf-v5-c-tabs--pf-v5-c-tabs__link--before--BorderBottomColor
#d2d2d2
.pf-v5-c-tabs--pf-v5-c-tabs__link--before--BorderLeftColor
#d2d2d2
.pf-v5-c-tabs--pf-v5-c-tabs__link--before--BorderTopWidth
0
.pf-v5-c-tabs--pf-v5-c-tabs__link--before--BorderRightWidth
0
.pf-v5-c-tabs--pf-v5-c-tabs__link--before--BorderBottomWidth
0
.pf-v5-c-tabs--pf-v5-c-tabs__link--before--BorderLeftWidth
0
.pf-v5-c-tabs--pf-v5-c-tabs__link--before--Left
calc(1px * -1)
.pf-v5-c-tabs--pf-v5-c-tabs__link--disabled--before--BorderRightWidth
0
.pf-v5-c-tabs--pf-v5-c-tabs__link--disabled--before--BorderBottomWidth
1px
.pf-v5-c-tabs--pf-v5-c-tabs__link--disabled--before--BorderLeftWidth
0
.pf-v5-c-tabs--pf-v5-c-tabs__link--after--Top
auto
.pf-v5-c-tabs--pf-v5-c-tabs__link--after--Right
0
.pf-v5-c-tabs--pf-v5-c-tabs__link--after--Bottom
0
.pf-v5-c-tabs--pf-v5-c-tabs__link--after--BorderColor
#b8bbbe
.pf-v5-c-tabs--pf-v5-c-tabs__link--after--BorderWidth
0
.pf-v5-c-tabs--pf-v5-c-tabs__link--after--BorderTopWidth
0
.pf-v5-c-tabs--pf-v5-c-tabs__link--after--BorderRightWidth
0
.pf-v5-c-tabs--pf-v5-c-tabs__link--after--BorderLeftWidth
0
.pf-v5-c-tabs--pf-v5-c-tabs__link--hover--after--BorderWidth
3px
.pf-v5-c-tabs--pf-v5-c-tabs__link--focus--after--BorderWidth
3px
.pf-v5-c-tabs--pf-v5-c-tabs__link--active--after--BorderWidth
3px
.pf-v5-c-tabs--pf-v5-c-tabs__item--m-current__link--after--BorderColor
#06c
.pf-v5-c-tabs--pf-v5-c-tabs__item--m-current__link--after--BorderWidth
3px
.pf-v5-c-tabs--pf-v5-c-tabs__link--child--MarginRight
1rem
.pf-v5-c-tabs--pf-v5-c-tabs__scroll-button--Color
#151515
.pf-v5-c-tabs--pf-v5-c-tabs__scroll-button--hover--Color
#06c
.pf-v5-c-tabs--pf-v5-c-tabs__scroll-button--disabled--Color
#d2d2d2
.pf-v5-c-tabs--pf-v5-c-tabs__scroll-button--BackgroundColor
#fff
.pf-v5-c-tabs--pf-v5-c-tabs__scroll-button--Width
3rem
.pf-v5-c-tabs--pf-v5-c-tabs__scroll-button--xl--Width
4rem
.pf-v5-c-tabs--pf-v5-c-tabs__scroll-button--OutlineOffset
calc(-1 * 0.25rem)
.pf-v5-c-tabs--pf-v5-c-tabs__scroll-button--TransitionDuration--margin
.125s
.pf-v5-c-tabs--pf-v5-c-tabs__scroll-button--TransitionDuration--transform
.125s
.pf-v5-c-tabs--pf-v5-c-tabs__scroll-button--TransitionDuration--opacity
.125s
.pf-v5-c-tabs--pf-v5-c-tabs__scroll-button--before--BorderColor
#d2d2d2
.pf-v5-c-tabs--pf-v5-c-tabs__scroll-button--before--border-width--base
1px
.pf-v5-c-tabs--pf-v5-c-tabs__scroll-button--before--BorderRightWidth
0
.pf-v5-c-tabs--pf-v5-c-tabs__scroll-button--before--BorderBottomWidth
1px
.pf-v5-c-tabs--pf-v5-c-tabs__scroll-button--before--BorderLeftWidth
0
.pf-v5-c-tabs--pf-v5-c-tabs__list--ScrollSnapTypeAxis
x
.pf-v5-c-tabs--pf-v5-c-tabs__list--ScrollSnapTypeStrictness
proximity
.pf-v5-c-tabs--pf-v5-c-tabs__list--ScrollSnapType
x proximity
.pf-v5-c-tabs--pf-v5-c-tabs__item--ScrollSnapAlign
end
.pf-v5-c-tabs--pf-v5-c-tabs--m-vertical__list--ScrollSnapTypeAxis
y
.pf-v5-c-tabs--pf-v5-c-tabs__toggle--Display
flex
.pf-v5-c-tabs--pf-v5-c-tabs__toggle--MarginBottom
0
.pf-v5-c-tabs--pf-v5-c-tabs--m-expanded__toggle--MarginBottom
1rem
.pf-v5-c-tabs--pf-v5-c-tabs__toggle-icon--Color
currentcolor
.pf-v5-c-tabs--pf-v5-c-tabs__toggle-icon--Transition
all 250ms cubic-bezier(.42, 0, .58, 1)
.pf-v5-c-tabs--pf-v5-c-tabs__toggle-icon--Rotate
0
.pf-v5-c-tabs--pf-v5-c-tabs__toggle-text--MarginLeft
0
.pf-v5-c-tabs--pf-v5-c-tabs__toggle-button__toggle-text--MarginLeft
1rem
.pf-v5-c-tabs--pf-v5-c-tabs__toggle-button__toggle-text--Color
#151515
.pf-v5-c-tabs--pf-v5-c-tabs__toggle-button--MarginTop
calc(-1 * 0.375rem)
.pf-v5-c-tabs--pf-v5-c-tabs__toggle-button--MarginBottom
calc(-1 * 0.375rem)
.pf-v5-c-tabs--pf-v5-c-tabs__toggle-button--MarginLeft
calc(-1 * 1rem)
.pf-v5-c-tabs--pf-v5-c-tabs--m-expanded__toggle-icon--Color
#151515
.pf-v5-c-tabs--pf-v5-c-tabs--m-expanded__toggle-icon--Rotate
90deg
.pf-v5-c-tabs--pf-v5-c-tabs__item-action--c-button--FontSize
0.75rem
.pf-v5-c-tabs--pf-v5-c-tabs--m-secondary__item-action--c-button--FontSize
0.75rem
.pf-v5-c-tabs--pf-v5-c-tabs__item-action--c-button--PaddingTop
0.5rem
.pf-v5-c-tabs--pf-v5-c-tabs__item-action--c-button--PaddingRight
0.5rem
.pf-v5-c-tabs--pf-v5-c-tabs__item-action--c-button--PaddingBottom
0.5rem
.pf-v5-c-tabs--pf-v5-c-tabs__item-action--c-button--PaddingLeft
0.5rem
.pf-v5-c-tabs--pf-v5-c-tabs__item-action--last-child--c-button--PaddingRight
1rem
.pf-v5-c-tabs--pf-v5-c-tabs__item-action--c-button--OutlineOffset
-0.1875rem
.pf-v5-c-tabs--pf-v5-c-tabs__item-action-icon--MarginTop
0.125rem
.pf-v5-c-tabs--pf-v5-c-tabs__add--before--BorderColor
#d2d2d2
.pf-v5-c-tabs--pf-v5-c-tabs__add--before--BorderLeftWidth
1px
.pf-v5-c-tabs--pf-v5-c-tabs__add--c-button--FontSize
0.875rem
.pf-v5-c-tabs--pf-v5-c-tabs--m-secondary__add--c-button--FontSize
0.75rem
.pf-v5-c-tabs--pf-v5-c-tabs__add--c-button--PaddingTop
0.5rem
.pf-v5-c-tabs--pf-v5-c-tabs__add--c-button--PaddingBottom
0.5rem
.pf-v5-c-tabs--pf-v5-c-tabs__add--c-button--OutlineOffset
calc(-1 * 0.25rem)
.pf-v5-c-tabs--pf-v5-c-tabs__link-toggle-icon--Color
#6a6e73
.pf-v5-c-tabs--pf-v5-c-tabs__link-toggle-icon--Transition
.2s ease-in 0s
.pf-v5-c-tabs--pf-v5-c-tabs__link-toggle-icon--Rotate
0
.pf-v5-c-tabs--pf-v5-c-tabs__link-toggle-icon--FontSize
0.875rem
.pf-v5-c-tabs--pf-v5-c-tabs__link--m-expanded__toggle-icon--Color
#151515
.pf-v5-c-tabs--pf-v5-c-tabs__link--m-expanded__toggle-icon--Rotate
90deg
.pf-v5-c-tabs--pf-v5-c-tabs__link--hover__toggle-icon--Color
#151515
.pf-v5-c-tabs--pf-v5-c-tabs__link--active__toggle-icon--Color
#151515
.pf-v5-c-tabs--pf-v5-c-tabs__link--focus__toggle-icon--Color
#151515
.pf-v5-c-tabs.pf-m-fill .pf-v5-c-tabs__item:first-child--pf-v5-c-tabs--m-box__item--m-current--first-child__link--before--BorderLeftWidth
0
.pf-v5-c-tabs.pf-m-fill .pf-v5-c-tabs__item:last-child--pf-v5-c-tabs--m-box__item--m-current--last-child__link--before--BorderRightWidth
0
.pf-v5-c-tabs.pf-m-no-border-bottom--pf-v5-c-tabs--before--BorderBottomWidth
0
.pf-v5-c-tabs.pf-m-no-border-bottom--pf-v5-c-tabs__link--disabled--before--BorderBottomWidth
0
.pf-v5-c-tabs.pf-m-box .pf-v5-c-tabs__link--pf-v5-c-tabs__link--after--BorderBottomWidth
0
.pf-v5-c-tabs.pf-m-box .pf-v5-c-tabs__link--pf-v5-c-tabs__link--after--BorderTopWidth
0
.pf-v5-c-tabs.pf-m-box--pf-v5-c-tabs__link--BackgroundColor
#f0f0f0
.pf-v5-c-tabs.pf-m-box--pf-v5-c-tabs__link--disabled--BackgroundColor
#d2d2d2
.pf-v5-c-tabs.pf-m-box--pf-v5-c-tabs__link--before--BorderBottomWidth
1px
.pf-v5-c-tabs.pf-m-box--pf-v5-c-tabs__link--before--BorderRightWidth
1px
.pf-v5-c-tabs.pf-m-box--pf-v5-c-tabs__link--disabled--before--BorderRightWidth
1px
.pf-v5-c-tabs.pf-m-box--pf-v5-c-tabs__link--after--Top
0
.pf-v5-c-tabs.pf-m-box--pf-v5-c-tabs__link--after--Bottom
auto
.pf-v5-c-tabs.pf-m-box .pf-v5-c-tabs__item:last-child--pf-v5-c-tabs__link--before--BorderRightWidth
0
.pf-v5-c-tabs.pf-m-box .pf-v5-c-tabs__item.pf-m-current--pf-v5-c-tabs__link--BackgroundColor
#fff
.pf-v5-c-tabs.pf-m-box .pf-v5-c-tabs__item.pf-m-current--pf-v5-c-tabs__link--before--BorderBottomColor
#fff
.pf-v5-c-tabs.pf-m-box .pf-v5-c-tabs__item.pf-m-current + .pf-v5-c-tabs__item--pf-v5-c-tabs__link--before--Left
0
.pf-v5-c-tabs.pf-m-box.pf-m-color-scheme--light-300--pf-v5-c-tabs__link--BackgroundColor
transparent
.pf-v5-c-tabs.pf-m-box.pf-m-color-scheme--light-300--pf-v5-c-tabs__item--m-current__link--BackgroundColor
#f0f0f0
.pf-v5-c-tabs.pf-m-box.pf-m-color-scheme--light-300--pf-v5-c-tabs__link--disabled--BackgroundColor
#f5f5f5
.pf-v5-c-tabs.pf-m-box .pf-v5-c-tabs__item-action .pf-v5-c-button--pf-v5-c-button--m-plain--disabled--Color
#b8bbbe
.pf-v5-c-tabs.pf-m-vertical--pf-v5-c-tabs--Width
100%
.pf-v5-c-tabs.pf-m-vertical--pf-v5-c-tabs--inset
1.5rem
.pf-v5-c-tabs.pf-m-vertical--pf-v5-c-tabs--before--BorderBottomWidth
0
.pf-v5-c-tabs.pf-m-vertical--pf-v5-c-tabs__link--PaddingTop
1rem
.pf-v5-c-tabs.pf-m-vertical--pf-v5-c-tabs__link--PaddingBottom
1rem
.pf-v5-c-tabs.pf-m-vertical--pf-v5-c-tabs__link--before--Left
0
.pf-v5-c-tabs.pf-m-vertical--pf-v5-c-tabs__link--disabled--before--BorderBottomWidth
0
.pf-v5-c-tabs.pf-m-vertical--pf-v5-c-tabs__link--disabled--before--BorderLeftWidth
1px
.pf-v5-c-tabs.pf-m-vertical--pf-v5-c-tabs__link--after--Top
0
.pf-v5-c-tabs.pf-m-vertical--pf-v5-c-tabs__link--after--Bottom
0
.pf-v5-c-tabs.pf-m-vertical--pf-v5-c-tabs__link--after--Right
auto
.pf-v5-c-tabs.pf-m-vertical--pf-v5-c-tabs__list--ScrollSnapTypeAxis
y
.pf-v5-c-tabs.pf-m-vertical .pf-v5-c-tabs__link--pf-v5-c-tabs__link--after--BorderTopWidth
0
.pf-v5-c-tabs.pf-m-vertical .pf-v5-c-tabs__link--pf-v5-c-tabs__link--after--BorderLeftWidth
0
.pf-v5-c-tabs.pf-m-vertical.pf-m-expandable--pf-v5-c-tabs__list--Display
none
.pf-v5-c-tabs.pf-m-vertical.pf-m-expandable--pf-v5-c-tabs__toggle--Display
flex
.pf-v5-c-tabs.pf-m-vertical.pf-m-non-expandable--pf-v5-c-tabs__list--Display
flex
.pf-v5-c-tabs.pf-m-vertical.pf-m-non-expandable--pf-v5-c-tabs__toggle--Display
none
.pf-v5-c-tabs.pf-m-vertical.pf-m-expanded--pf-v5-c-tabs__list--Display
flex
.pf-v5-c-tabs.pf-m-vertical.pf-m-expanded--pf-v5-c-tabs__toggle--MarginBottom
1rem
.pf-v5-c-tabs.pf-m-vertical.pf-m-expanded--pf-v5-c-tabs__toggle-icon--Color
#151515
.pf-v5-c-tabs.pf-m-vertical.pf-m-expanded--pf-v5-c-tabs__toggle-icon--Rotate
90deg
.pf-v5-c-tabs.pf-m-box.pf-m-vertical--pf-v5-c-tabs--inset
2rem
.pf-v5-c-tabs.pf-m-box.pf-m-vertical--pf-v5-c-tabs--m-vertical__list--before--BorderLeftWidth
0
.pf-v5-c-tabs.pf-m-box.pf-m-vertical--pf-v5-c-tabs--m-vertical__list--before--BorderRightWidth
1px
.pf-v5-c-tabs.pf-m-box.pf-m-vertical--pf-v5-c-tabs__link--disabled--before--BorderRightWidth
1px
.pf-v5-c-tabs.pf-m-box.pf-m-vertical--pf-v5-c-tabs__link--disabled--before--BorderBottomWidth
1px
.pf-v5-c-tabs.pf-m-box.pf-m-vertical--pf-v5-c-tabs__link--disabled--before--BorderLeftWidth
0
.pf-v5-c-tabs.pf-m-box.pf-m-vertical .pf-v5-c-tabs__item:last-child--pf-v5-c-tabs__link--before--BorderBottomWidth
0
.pf-v5-c-tabs.pf-m-box.pf-m-vertical .pf-v5-c-tabs__item:last-child--pf-v5-c-tabs__link--before--BorderRightWidth
1px
.pf-v5-c-tabs.pf-m-box.pf-m-vertical .pf-v5-c-tabs__item.pf-m-current--pf-v5-c-tabs__link--before--BorderRightColor
#fff
.pf-v5-c-tabs.pf-m-box.pf-m-vertical .pf-v5-c-tabs__item.pf-m-current--pf-v5-c-tabs__link--before--BorderBottomColor
#d2d2d2
.pf-v5-c-tabs.pf-m-box.pf-m-vertical .pf-v5-c-tabs__item.pf-m-current--pf-v5-c-tabs__link--before--BorderBottomWidth
1px
.pf-v5-c-tabs.pf-m-box.pf-m-vertical .pf-v5-c-tabs__item.pf-m-current:first-child--pf-v5-c-tabs__link--before--BorderTopWidth
1px
.pf-v5-c-tabs.pf-m-box.pf-m-vertical .pf-v5-c-tabs__item:first-child.pf-m-current--pf-v5-c-tabs__link--before--BorderTopWidth
1px
.pf-v5-c-tabs.pf-m-secondary--pf-v5-c-tabs__link--FontSize
0.875rem
.pf-v5-c-tabs.pf-m-secondary--pf-v5-c-tabs__item-action--c-button--FontSize
0.75rem
.pf-v5-c-tabs.pf-m-secondary--pf-v5-c-tabs__add--c-button--FontSize
0.75rem
.pf-v5-c-tabs.pf-m-page-insets--pf-v5-c-tabs--inset
1rem
.pf-v5-c-tabs__toggle-button--pf-v5-c-tabs__toggle-text--MarginLeft
1rem
.pf-v5-c-tabs__toggle-button--pf-v5-c-tabs__toggle-text--Color
#151515
.pf-v5-c-tabs__item.pf-m-current--pf-v5-c-tabs__link--Color
#151515
.pf-v5-c-tabs__item.pf-m-current--pf-v5-c-tabs__link--after--BorderColor
#06c
.pf-v5-c-tabs__item.pf-m-current--pf-v5-c-tabs__link--after--BorderWidth
3px
.pf-v5-c-tabs__item.pf-m-action--pf-v5-c-tabs__link--PaddingRight
0.25rem
.pf-v5-c-tabs__item.pf-m-action--pf-v5-c-tabs__link--after--BorderBottomWidth
0
.pf-v5-c-tabs__item.pf-m-action:hover--pf-v5-c-tabs__link--after--BorderWidth
3px
.pf-v5-c-tabs__item.pf-m-action:focus-within--pf-v5-c-tabs__link--after--BorderWidth
3px
.pf-v5-c-tabs__item.pf-m-action:active--pf-v5-c-tabs__link--after--BorderWidth
3px
.pf-v5-c-tabs__link:hover--pf-v5-c-tabs__link-toggle-icon--Color
#151515
.pf-v5-c-tabs__link:focus--pf-v5-c-tabs__link-toggle-icon--Color
#151515
.pf-v5-c-tabs__link:active--pf-v5-c-tabs__link-toggle-icon--Color
#151515
.pf-v5-c-tabs__item.pf-m-action.pf-m-disabled--pf-v5-c-tabs__link--Color
#6a6e73
.pf-v5-c-tabs__item.pf-m-action.pf-m-disabled--pf-v5-c-tabs__link--BackgroundColor
#f5f5f5
.pf-v5-c-tabs__item.pf-m-action.pf-m-disabled--pf-v5-c-tabs__link--before--BorderRightWidth
0
.pf-v5-c-tabs__item.pf-m-action.pf-m-disabled--pf-v5-c-tabs__link--before--BorderBottomWidth
1px
.pf-v5-c-tabs__item.pf-m-action.pf-m-disabled--pf-v5-c-tabs__link--before--BorderLeftWidth
0
.pf-v5-c-tabs__item.pf-m-action.pf-m-disabled--pf-v5-c-tabs__link--after--BorderWidth
0
.pf-v5-c-tabs__link .pf-v5-c-tabs__item-icon:last-child--pf-v5-c-tabs__link--child--MarginRight
0
.pf-v5-c-tabs__link.pf-m-expanded--pf-v5-c-tabs__link-toggle-icon--Color
#151515
.pf-v5-c-tabs__link.pf-m-expanded--pf-v5-c-tabs__link-toggle-icon--Rotate
90deg
.pf-v5-c-tabs__item-action .pf-v5-c-button--pf-v5-c-button--FontSize
0.75rem
.pf-v5-c-tabs__item-action .pf-v5-c-button--pf-v5-c-button--PaddingTop
0.5rem
.pf-v5-c-tabs__item-action .pf-v5-c-button--pf-v5-c-button--PaddingRight
0.5rem
.pf-v5-c-tabs__item-action .pf-v5-c-button--pf-v5-c-button--PaddingBottom
0.5rem
.pf-v5-c-tabs__item-action .pf-v5-c-button--pf-v5-c-button--PaddingLeft
0.5rem
.pf-v5-c-tabs__item-action:last-child--pf-v5-c-tabs__item-action--c-button--PaddingRight
1rem
.pf-v5-c-tabs__scroll-button:hover--pf-v5-c-tabs__scroll-button--Color
#06c
.pf-v5-c-tabs__scroll-button:nth-of-type(1)--pf-v5-c-tabs__scroll-button--before--BorderRightWidth
1px
.pf-v5-c-tabs__scroll-button:nth-of-type(2)--pf-v5-c-tabs__scroll-button--before--BorderLeftWidth
1px
.pf-v5-c-tabs__scroll-button:disabled--pf-v5-c-tabs__scroll-button--Color
#d2d2d2
.pf-v5-c-tabs__add .pf-v5-c-button--pf-v5-c-button--FontSize
0.875rem
.pf-v5-c-tabs__add .pf-v5-c-button--pf-v5-c-button--PaddingTop
0.5rem
.pf-v5-c-tabs__add .pf-v5-c-button--pf-v5-c-button--PaddingBottom
0.5rem
.pf-v5-c-tabs.pf-m-inset-none--pf-v5-c-tabs--inset
0
.pf-v5-c-tabs.pf-m-inset-none--pf-v5-c-tabs--m-vertical--inset
0
.pf-v5-c-tabs.pf-m-inset-none--pf-v5-c-tabs--m-vertical--m-box--inset
0
.pf-v5-c-tabs.pf-m-inset-sm--pf-v5-c-tabs--inset
0.5rem
.pf-v5-c-tabs.pf-m-inset-sm--pf-v5-c-tabs--m-vertical--inset
0.5rem
.pf-v5-c-tabs.pf-m-inset-sm--pf-v5-c-tabs--m-vertical--m-box--inset
0.5rem
.pf-v5-c-tabs.pf-m-inset-md--pf-v5-c-tabs--inset
1rem
.pf-v5-c-tabs.pf-m-inset-md--pf-v5-c-tabs--m-vertical--inset
1rem
.pf-v5-c-tabs.pf-m-inset-md--pf-v5-c-tabs--m-vertical--m-box--inset
1rem
.pf-v5-c-tabs.pf-m-inset-lg--pf-v5-c-tabs--inset
1.5rem
.pf-v5-c-tabs.pf-m-inset-lg--pf-v5-c-tabs--m-vertical--inset
1.5rem
.pf-v5-c-tabs.pf-m-inset-lg--pf-v5-c-tabs--m-vertical--m-box--inset
1.5rem
.pf-v5-c-tabs.pf-m-inset-xl--pf-v5-c-tabs--inset
2rem
.pf-v5-c-tabs.pf-m-inset-xl--pf-v5-c-tabs--m-vertical--inset
2rem
.pf-v5-c-tabs.pf-m-inset-xl--pf-v5-c-tabs--m-vertical--m-box--inset
2rem
.pf-v5-c-tabs.pf-m-inset-2xl--pf-v5-c-tabs--inset
3rem
.pf-v5-c-tabs.pf-m-inset-2xl--pf-v5-c-tabs--m-vertical--inset
3rem
.pf-v5-c-tabs.pf-m-inset-2xl--pf-v5-c-tabs--m-vertical--m-box--inset
3rem

View source on GitHub