Pre-built Auth UI for React - Install Auth UI and start authenticating users with Supabase

Auth UI is a pre-built React component for authenticating users with Supabase Auth. It supports custom themes and extensible styles to match your brand and aesthetic.

Add a comment

Replies

Best
The mac theme is my favorite haha
oh, I love it so much too
reminds me of something πŸ˜‚
I should of added that this was quite inspired by Stripe Elements :D
wonder who made these... πŸ‘€
thank you, I can’t express to you in words how helpful this is. Nice work! I’m gonna try it out now.
Hey friends! πŸ‘‹ (It's been a while!) Some of you may already know, Auth UI started out as a component called `Auth` in our Supabase UI GitHub repository. We saw lots of developers we're using the (quite large) `supabase/ui` package just so they could use the Auth component. We decided to double down our efforts on that component, we moved it to it's own repository, and renamed it Auth UI. We've also added a bunch of features developers we're demanding from us... πŸ’… Pre built themes
 - We will be making pre-made themes so you can get going right away. No styling necessary.
 🧰 Extend appearance of theme - 
Not happy with the prebuilt themes? Override variables from prebuilt themes with your own styles. πŸŒ“ Theme sets (dark mode) - 
Extend and configure multiple sets of styles in a single theme. That means you can include dark mode, light mode, sepia mode...
 ✏️ Custom css classes and inline styles - Inject css classes so you can target specific elements and also inline styles. A prepended ClassName can also be added to all elements. πŸ“£ Custom labels - 
Use your own text for any of the labels, so you can now accommodate for various languages, or perhaps different tones of voice. What's the future of Auth UI? We'd like to keep working on this and improve it for more use cases such as: πŸ“ž Phone auth - Support for Supabase Phone Auth, so a user can input their OTP into the Auth UI to log in. πŸ— More frameworks - We've only shipped React so far, but we've had requests for Svelte and Flutter support. πŸͺͺ Profile UI - Perhaps prebuilt UI for viewing user information, user profile, and user actions to update password, update details and so on. One more thing...It's all open source. View all the code right now on GitHub. Also a shout out to . We used it to make the customization part possible. πŸͺ‘ --- Thanks everyone. Feel free to leave your positive (and negative) feedback and comments. Jonny, Supabase team
Congrats. Discovered the product on our Invincible Product Hunters community. :)
Hi, great product. Tell me, do you have an out-of-the-box authorization solution for V3 browser extensions?
ahh great. Thor shared it I think?
the theming is very cool
Congratulations on the launch πŸš€
What was the rationale behind deprecating supabase/ui and splitting auth UI to its own package?
hey ! Some of you may already know, but Auth UI was a component called `Auth` in our Supabase UI GitHub repository. To my genuine surprise (I didn't think anyone would use it) we saw a lot of developers using the component in their own apps without using any other components. They were also applying custom hacks to change various styling or to replace text in the labels. It made sense to properly support the Auth component as a standalone package, and also remove it from a package that was primarily a library of radix react components that were styled with tailwind. We also didn't want to force developers to use Tailwind just to install a UI component. Now that it is in its own repo and package, we can probably also think about supporting other frameworks more easily like Svelte and Flutter.
good point on the future repurposing
also would love to get the Vue community involved with this πŸ₯³
I think you forgot to mention Vue ;)
This looks really amazing! Is there a possible timeline for when support for Flutter might be ready? Keen to try it out in my next project
I'll check the issues in GitHub, we had a contributor that might had been interested in porting this to flutter. Will need to have a look.
Flutter Auth UI is being worked on here: Thanks to many awesome community contributors πŸ’š
+1 for flutter version
great stuff!
Hey friends, we're constantly aiming to make Auth as easy as possible and this is another step into that direction. Let us know if this is useful for you and what features you would like to see. Thanks :)
πŸ™ŒπŸ™ŒπŸ™Œ
Will there be docs around how to use this auth UI library?
Absolutely. I made a start . Would welcome any
So excited for this! Can't wait to see how other devs will use this together with supabase-auth! :)
already got some feedback about docs I think πŸ˜…
#buildinpublic makes for epic feedback cycles!
Looks fantastic, can't wait to use Svelte version!
There was a Supabase UI Svelte version knocking around, I'll have to see who it was and see if they want to get involved, would speed up development a lot!
wow, that’s great, Supabase community is the best πŸ’―
Very happy to see a new version of Auth UI to go along with V2 of supabase-js!
upgraded it now to v2. Courtesy of Thor!
Nice to see this as an open-source feature. Cool! Congrats!
1234
Next