Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs]: The copy button on installation code block shows a dropdown #3713

Open
2 tasks done
karimkod opened this issue May 10, 2024 · 0 comments
Open
2 tasks done

[docs]: The copy button on installation code block shows a dropdown #3713

karimkod opened this issue May 10, 2024 · 0 comments

Comments

@karimkod
Copy link

Feature description

In the current docs, the installation code blocks contain a clipboard icon, when clicked it shows a dropdown to choose the package manager used.
I think for UX purposes, we can either have a different icon (a chevron down), or have a separate dropdown to choose which package is needed and the copy button will just copy.

Affected component/components

No response

Additional Context

This has made me go back to the docs page to re-do the copy from the dropdown, since the clipboard icon is deceptive.

I think this is coming from : https://github.com/shadcn-ui/ui/blob/main/apps/www/components/copy-button.tsx

Open for discussion and ready to PR if there is agreement!

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues and PRs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant