Skip to content

Add package manager tab switcher for install commands in docs #9

@MohamadSalman11

Description

@MohamadSalman11

Before You Submit

Suggestion

It would be great to add a tab switcher component in the documentation to allow users to easily toggle between different package manager commands (npm, yarn, pnpm, bun) when installing packages.

Additional details:

  • The tabs should include package manager icons for quick visual recognition.
  • The switcher should dynamically display the correct install command on tab click.
  • Example implementation can be seen here: Vitest docs - Adding Vitest to Your Project

Motivation

This improves readability and user experience by showing only the relevant command for the user’s preferred package manager.

Feel free to open a pull request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsImprovements or additions to documentationfeature

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions