@rhds/elements
Version:
Red Hat Design System Elements
17 lines (13 loc) • 401 B
Markdown
# Tabs
A tab set of layered content, including tab widgets and their associated tab
panel. When a tab is activated, the associated panel content becomes visible.
Tabs automatically display their panel when they receive focus.
## Usage
```html
<rh-tabs>
<rh-tab>Tab 1</rh-tab>
<rh-tab-panel>Panel 1</rh-tab-panel>
<rh-tab>Tab 2</rh-tab>
<rh-tab-panel>Panel 2</rh-tab-panel>
</rh-tabs>
```