Unable to apply custom styles to Radix UI components when used within ShadcnUI package #3025
onurhan1337
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using
@radix-ui/themes
components within the ShadcnUI package in my project. However, I'm encountering an issue where I'm unable to use these components.In the code block below, using the
useMediaQuery
hook, if it is a mobile device, thedrawer
element in shadcn-ui will work, if it is a computer, theDialog
element of the@radix-ui/themes
package will work. The components in the<ProjectCreateForm />
element (such as input) are Radix-ui elements, but there is no problem with them either.Although I have not added any properties to the
@radix-ui/themes
buttons other than the properties it offers, many styles do not work when working in thedrawer
. How can I prevent this?Beta Was this translation helpful? Give feedback.
All reactions