Skip to content

Install command tabs

A dark code block with one tab per package manager, for technical documentation.

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

Description

The prompt symbol is hidden from screen readers and excluded from selection, so the copied command is directly usable. The block scrolls horizontally if the command is long.

Code

Loading the code…

The code of this component in

Archive contents

onglets-commandes-installation-html-tailwind.zip3 files · 4 Ko

  • index.html6 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
  • Understated tabs with an underlined active tab, to organize the information on a product page.

    • Tailwind
    • React
    • CSS
    • WordPress
    Component