Adding component shadcn/ui to Refine
I was add refine with this configuration, I choose the headless UI, and then I was add component shadcn/ui to refine, but the style is not work,
you can check this component https://ui.shadcn.com/docs/components/card
Card
Displays a card with header, content, and footer.
![No description](https://cdn.answeroverflow.com/1123291381071356044/image.png)
![No description](https://cdn.answeroverflow.com/1123291381327200406/image.png)
![No description](https://cdn.answeroverflow.com/1123291381625016350/image.png)
12 Replies
Hi @tjgeni. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
Hmm, I don't know enough to give you a confident answer yet. The information extracts provided do not contain specific details about integrating the shadcn/ui library with refine. However, refine is designed to work seamlessly with any custom designs or UI frameworks, so it should be possible to integrate shadcn/ui.
You might want to check the documentation for both refine and shadcn/ui to see if there are any specific instructions or requirements for integrating the two. If you're still having trouble, it might be helpful to reach out to the support communities for both libraries.
Here are some useful links:
- Refine Documentation (https://refine.dev/docs)
- Shadcn/UI Documentation (https://ui.shadcn.com/docs/components/card)
----------------------
Note: you can ask me a follow up question by @ mentioning me again
:speech_balloon:
----------------------<@526614763413831680> kapa.ai is still learning and improving, please let us how it did by reacting below
vicious-gold•15mo ago
yeah, i don't know why the style shadcn is not work
@kapa.ai
Let me check the knowledge base for you. One moment! :books:
Sorry @tjgeni, I seem to be having a bit of trouble. Don't worry though, I've pinged my supprt and they will try to fix me up! :technologist:
Perhaps try again in 15mins?
fascinating-indigo•15mo ago
if you give us reporoducible example, we are happy to debug. we cannot debug without seeing your project code
vicious-gold•15mo ago
oh okay, I upload to github.. wait
vicious-gold•15mo ago
hello @alicanerdurmaz .. you can clone to my repo
https://github.com/tegarjgap/refine-test
GitHub
GitHub - tegarjgap/refine-test
Contribute to tegarjgap/refine-test development by creating an account on GitHub.
vicious-gold•15mo ago
thanks
fascinating-indigo•15mo ago
I added this to tailwind.config.js, its working now
'./@/**/*.{js,ts,jsx,tsx}'
last one
fascinating-indigo•15mo ago
![No description](https://cdn.answeroverflow.com/1123353543714275348/image.png)
vicious-gold•15mo ago
wow, cool.. thank a lot @alicanerdurmaz
fascinating-indigo•15mo ago
your welcome 🚀