The Tabs component is used to group different contents of the same theme within a section. It allows the user to easily navigate between the different sections of a page.
Eyelashes
Preview
Uses
When to use
When not to use
Behaviour
Type
Text Only
Icon Left
Text + Tag
Icon Left + Tag
States
Default
Hover
Focus
Selected
Disabled
Responsive
The behavior in its mobile version changes in the last element, grouping in a dropdown the tabs that do not enter the screen being able to access and select them. The tabs to be displayed will be 1 or 2 depending on the length of your texts.
Display a tab for long texts
Show 2 tabs for short texts
Accessibility
This component has been validated to meet the accessibility requirements of UNE-EN 301549:2022, which includes the criteria of WCAG 2.1 (AA), however, changes in content and styles can affect accessibility compliance. We must make sure to review and follow the guidelines in this section when you update or add new content or style to this component.