Skip to content

Underlined tabs

Understated tabs with an underlined active tab, to organize the information on a product page.

  • Tailwind
  • React
  • CSS
  • WordPress
Open in a new tab

Description

The component follows the WAI-ARIA tabs pattern: left and right arrows switch tabs, Home and End jump to the first or last one, with visible focus on tab and panel. Without JavaScript, the three panels stay displayed one below the other.

Code

Loading the code…

The code of this component in

Archive contents

onglets-soulignes-html-tailwind.zip3 files · 4 Ko

  • index.html5 Ko
  • README.md2 Ko
  • LICENSE.md1 Ko

Tags

Updated on December 2, 2026.

Reviews

No reviews yet.

In the same spirit

  • Accessible tabs on large screens that turn into an accordion on phones, with the right ARIA roles in each mode.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • Indicative prices sorted by trade in tabs, with the unit of each service, a VAT-inclusive / excl. switch and a free-quote notice.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • Vertical tabs

    Coming soon

    A column of tabs on the left and content on the right, for settings and customer area pages.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component
  • Pill tabs

    Coming soon

    A pill selector in a rounded track, to compare plans or variants.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component