Tabs
A component for toggling between related panels on the same page.
Manage your account settings and preferences.
Change your password and other security options.
Configure your application settings and preferences.
Features
- Full keyboard navigation support with arrow keys
- Supports horizontal and vertical orientations
- Supports automatic and manual tab activation modes
- Content is lazy mounted by default
- Supports disabled tabs
Installation
typo3 ui:add tabs
Please copy the files manually from GitHub into your project.
Read more about installing Components and Primitives.
Examples
Vertical Orientation
Display tabs in a vertical layout.
Manage your account settings and preferences.
Change your password and other security options.
Configure your application settings and preferences.
Disabled Tabs
Disable specific tabs to prevent interaction.
First tab content.
This tab is disabled.
Third tab content.
Manual Activation
Require pressing Enter or Space to activate tabs instead of activating on focus.
Press Enter to switch tabs.
Content for tab 2.
Content for tab 3.
Anatomy
<primitives:tabs.root>
<primitives:tabs.list>
<primitives:tabs.trigger />
<primitives:tabs.indicator />
</primitives:tabs.list>
<primitives:tabs.content />
</primitives:tabs.root>