UI library
@kapa.ai what UI libraries are supported? I was trying to use sandcn and it was giving me a lot of trouble.
2 Replies
Hi @wbjb. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
Based on the knowledge sources provided, Wasp supports several UI libraries, but there have been some challenges with certain ones. Here's a summary of the information available:
1. Shadcn UI: While there have been difficulties in the past, it is now possible to use Shadcn UI with Wasp, but it requires some manual interventions. A community member has created a gist with instructions on how to set it up: Shadcn UI setup gist.
2. Tailwind CSS: Wasp has good support for Tailwind CSS. It's mentioned in several documents and is used in various examples and templates Keycloak Auth Docs.
3. Other libraries: Community members have mentioned success with NextUI and Chakra UI Discord thread.
4. TailAdmin: The Open SaaS template in Wasp comes with TailAdmin, which is a dashboard component library for Tailwind Discord thread.
It's worth noting that the Wasp team is aware of the challenges with some UI libraries and is working on improving support. For now, if you're having trouble with Shadcn UI, you might want to consider using Tailwind CSS directly or trying one of the other supported libraries like Chakra UI or NextUI.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------
Sorry @wbjb, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist:
Perhaps try again in 15mins?
Hey @wbjb. I think ShadCN should work. Check out this Gist by @miho: https://gist.github.com/infomiho/b35e9366e16913949e13eaba0538f553
Gist
Using ShadCN with Wasp 0.12+
Using ShadCN with Wasp 0.12+. GitHub Gist: instantly share code, notes, and snippets.