Tab trigger. The active tab has aria-selected="true" and tabindex="0". Inactive tabs use tabindex="-1". Disabled tabs use disabled or aria-disabled="true".
Panel controlled by a tab. Inactive panels are hidden.
### JavaScript API
| API | Type | Description |
| --- | --- | --- |
| `tabs.select(tab)` | Method | Selects a tab button in the tablist. |
| `tabs.refresh()` | Method | Rescans tabs and panels after children change inside the existing tablist/panel structure. |
## Examples
### Line
Make changes to your account here.
Change your password here.
Update your settings here.
### Vertical
Manage account settings.
Update your password.
Configure notifications.
### Disabled
Account content.
Password content.
Settings content.
### Icons
Account content.
Password content.
Settings content.
### RTL
Tabs support document direction. Set `dir="rtl"` on the tabs root or a parent element.