W
Wasp-lang•3mo ago
Jorge

Open Saas - Login/Signup forms with shadcn ui

Hi everyone, What's the most straightforward way to update the existing forms using shadcn ui?
4 Replies
MEE6
MEE6•3mo ago
Wohooo @Jorge, you just became a Waspeteer level 1!
kapa.ai
kapa.ai•3mo ago
Hi @Jorge. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- To update the existing forms in Open Saas using shadcn ui, you would need to manually install and configure shadcn ui in your Wasp project. A community member has shared a gist (https://gist.github.com/infomiho/b35e9366e16913949e13eaba0538f553) on how to use shadcn with Wasp. However, please note that there have been mixed experiences with using shadcn ui with Wasp. Some community members have reported issues and others have had success after some troubleshooting. If you encounter issues, you might need to provide more information about the error and your setup for the community to help you. If you want to customize the login/signup forms, you can import the login and signup functions provided by Wasp and create your own form. Here's an example:
import { login, signup } from "wasp/client/auth";
import { login, signup } from "wasp/client/auth";
You'll also need to define a userSignupFields function as described in the Wasp documentation (https://wasp-lang.dev/docs/auth/overview#customizing-the-signup-process). Please remember to always test your changes and ensure that they work as expected. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ---------------------- Sorry @Jorge, 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?
martinsos
martinsos•3mo ago
Kapa have a good answer here! Btw shadcn now works fine. And yeah, you will have to write your own forms in that case, and use our lower level primitivies, that link to docs should guide you well
Jorge
JorgeOP•3mo ago
perfect, thanks 🙂
Want results from more Discord servers?
Add your server