ui icon indicating copy to clipboard operation
ui copied to clipboard

Prefix Components With Sh

Open RhysSullivan opened this issue 2 years ago • 2 comments

Rather than writing Dropdown you'd write ShDropdown - maybe making the prefix configurable

This is to prevent accidentally importing the radix component rather than the shadcn component image

RhysSullivan avatar Jul 05 '23 23:07 RhysSullivan

Hi @RhysSullivan, I just submitted a PR that add the prefix your asking for. I think it's actually a nice feature, let's see what @shadcn thinks about it.

dan5py avatar Jul 07 '23 00:07 dan5py

This would be really useful, its quite annoying to browse between different imports, especially when you create your own wrappers if you want to keep shadcn components clean for future updates

TheCodeDestroyer avatar Jun 12 '24 14:06 TheCodeDestroyer

This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.

shadcn avatar Jul 05 '24 23:07 shadcn