File: tabs.md | Updated: 11/15/2025
5-day Mini-Course
Short, tactical video lessons from the creator of Tailwind CSS, delivered directly to your inbox every day for a week.
A commercial license is required to use Tailwind Plus Elements. Purchase Tailwind Plus to obtain a license.
The <el-tab-group> component makes it easy to build accessible, keyboard-navigable tab interfaces with full control over styling and layout.
The main container that coordinates the tabs and panels.
| | |
| --- | --- |
| Methods | |
| setActiveTab(index) | Sets the active tab by index. |
The container for tab buttons.
The container for tab panels. All direct children are considered panels.
To view the complete documentation, you must own a Tailwind Plus license and be signed in .
To view the complete documentation, you must own a Tailwind Plus license and be signed in .