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.
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 here right now on GitHub.
Also a shout out to stiches.js. 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
hey @everconfusedguy !
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.
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 :)
@egor_romanov 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!
Love to see this one out! Auth UI is a great and fast way to get auth working while also matching your brand and aesthetic 🤝💯
Can't wait to see what the community builds with it!
Love this! I have so many snippets of code for this that I am taking from project to project, glad to see this done properly in a such a modular way. (And yes, Mac theme is the best 😅)
This looks amazing! The added theming flexibility, and that it got spun out due to how developers were previously using it, is just fantastic.
Love that the community has a voice when it comes to Supabase!
@_pcnc There were a few issues popping up on GitHub and I was also seeing some weird hacks developers were trying just to do something like change a label. Hopefully this is a step in the right direction 😅
Replies
Supabase
Supabase Benchmarks App
Supabase
Supabase
Supabase
Supabase
Manganum sidebar for Google Chrome
Supabase
Supabase
Supabase
Supabase
Supabase
Supabase
Animali
Supabase
Supabase
Supabase
Supabase
Supabase
Supabase
Supabase
Supabase
SVB News Hub
Supabase
Supabase
Supabase
Supabase Benchmarks App
Supabase
Supabase Benchmarks App
N7
Supabase
Metabase
Supabase
Natively. Turn website into mobile app
Supabase
Supabase
Supabase
Supabase
Supabase
Supabase
Supabase
Supabase
Supabase
Supabase
Supabase