Aliasing Components differently to Radix UI by default #4031
AidanLaycock
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was wondering if it would make sense going forward to either via CLI or just generally add aliases to the ShadCN components that are different from the Radix primitives used. As I've had a few instances now where I've accidentally imported the primitives rather the custom UI components.
E.g.
Which has caused a few instances of head scratching to figure out where an example isn't working when building with the components.
So I'd propose something like (Just as an idea, happy for a better variation) by default to remove this from ever happening to others:
Beta Was this translation helpful? Give feedback.
All reactions