Quick start guide and documentation
Overview
Features
Support
Overview content...
Features content...
Support content...
| Class/Attribute | Purpose |
|---|---|
.tabs-display | Wrapper for entire tab component |
.tabs | Container for tab buttons |
.tab-link | Individual tab button |
.tab-content | Individual tab panel |
data-tab="id" | Unique identifier matching tab to panel |
.active | Currently visible tab/panel |
role="tablist" | ARIA role for tab container |
role="tab" | ARIA role for each tab |
role="tabpanel" | ARIA role for each content panel |
data-tab values that match—the system connects tabs to panels automatically.tab-link elementsRSL Tabs are ADA-compliant by default:
tablist, tab, tabpanel)aria-selected and aria-hidden managed automaticallyTabs can subscribe to RSL's FilterBus for visibility filtering based on external filter controls. This is ideal for dashboard scenarios where filter buttons control which tab groups are displayed.
data-filter-subscribe="key" to listen to a FilterBus channeldata-filter-value="value" to specify which filter value this tab group matchesdata-filter-value always show| Attribute | Type | Description |
|---|---|---|
data-filter-subscribe |
String | FilterBus key to subscribe to (e.g., "region", "category") |
data-filter-value |
String | Filter value(s) this tab group matches. Supports comma-separated values for multi-match (e.g., "North,South"). Tab groups without this attribute always show. |
Overview
Details
North region overview...
North region details...
| Event | Detail | Description |
|---|---|---|
rsl-tabs:filterbus-update |
{ state, meta, visible } |
Fired when tab group visibility changes due to FilterBus update |
See It In Action: Visit the FilterBus Dashboard Demo to see tabs filtering alongside tables, charts, and other components.
Tab groups can be filtered by date range when used with the Date Picker component. This is ideal for event listings, schedules, or any time-based content organized in tabs.
data-date="YYYY-MM-DD" to the tab group with the event/content date| Attribute | Type | Description |
|---|---|---|
data-date |
String | Date associated with this tab group (e.g., "2025-12-15"). Tab hides when outside date picker range. |
Agenda
Speakers
Holiday Party - Dec 15, 2025
Special guests and activities...
| Event | Detail | Description |
|---|---|---|
rsl-tabs:date-filter-update |
{ state, meta, visible, tabDate } |
Fired when tab group visibility changes due to date range filter |