supabase-js
headlessui
supabase-js | headlessui | |
---|---|---|
28 | 180 | |
2,819 | 24,217 | |
2.8% | 1.0% | |
8.2 | 9.1 | |
8 days ago | 6 days ago | |
TypeScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
supabase-js
- Chrome Extension MV3 Template : Supabase Auth, Plasmo, Tailwinds CSS & Shadcn UI
-
Supabase Beta May 2023
[Edge Functions] Custom domains and vanity domains support for Edge Functions. PR
-
How do errors look like? Handling errors.
First of all, the code you provided is not directly supabase, but is whatever is provided from the javascript library. The auth part is then redirecting to the gotrue-js library, and as seen here [Gotrue-JS#L238] it returns a `Promise` and that specific type is declared here Where we see it could be two return types. ```ts | { data: { user: User | null session: Session | null } error: null } | { data: { user: null session: null } error: AuthError }
-
Authentication in Next.js with Supabase and Next 13
Next up, Supabase released v2 of their JavaScript client library (supabase-js), which brought with it a number of developer experience type improvements, and streamlined how we use some of the API's. A number of methods were also deprecated in this new release, which we'll cover later in this guide.
-
Develop a Cryptocurrency Tracking WebApp with Instant Email Notifications
We install the Supabase client library and also Chakra-UI which we will be using to build our React components.
-
Sign in with Apple using Supabase and Ionic Angular
The last part is the easiest as we simply need to connect Supabase to our Ionic app and call one function. Get started by bringing up a new Ionic app and install the Supabase JS client:
- Lucia, the authentication library for SvelteKit, had tons of updates in the last month - It now supports the latest version of SvelteKit and allows you to run load functions in parallel for faster load times (even when using auth)!
-
Using env. variables without VITE_ prefix
Under src/lib I have a .ts file where I create a supabase client inside.
-
Building In Public: Cartta Tech Stack
First and foremost, the language and framework – Typescript & React. Typescript is a must for a project of this size. It provides safety and peace of mind as I iterate quickly to solve bugs and add new features. React is a by-product of the next two things I will mention, Next and Remix. Both of these are higher abstractions on top of React and supply incredible tooling to build fast server side rendered applications. Picking one or the other was driven by my database and auth provider, Supabase. I could have tried to make it work with Remix, but there was already an authentication helper for Next from the Supabase community so I decided on Next. Still using Remix for this current website since I do love Remix so much.
-
Idea Validation - No Code RestAPI creator from relational DB
Have a look at https://postgrest.org/en/stable/. They do something in this direction and e.g. supabase.io uses them. Their approach is, if you have a database you have a REST API.
headlessui
-
Exploring Catalyst, Tailwind's UI kit for React
Catalyst is a comprehensive, fully componentized UI kit for modern React projects, built on the next generation of Headless UI. With Catalyst, you can create a custom set of components to use and reuse in your projects.
-
Headless UI - a great components library for Vue & React
And that is why I was looking for a UI library that would deliver these things for a long time and today I am happy to announce that I have found it! It is Headless UI by the Tailwind Team.
-
The Secret Weapon of Top Developers: 7 React JS Libraries You Can't Afford to Ignore
Headless UI provides a suite of unstyled, fully accessible UI components perfect for developers who want full control over their interface design. It's a developer's canvas, offering the foundational parts needed to build a user interface without dictating the aesthetics, making it ideal for those who love to integrate with Tailwind CSS. With https://headlessui.com/, you can ensure that your applications are inclusive and easy to use for everyone, while also maintaining the freedom to craft a unique look and feel that aligns with your brand or style guidelines.
- Tailwind Color Palette Generator
-
9 React component libraries for efficient development in 2023
GitHub stars: 22.5k GitHub link: https://github.com/tailwindlabs/headlessui Documentation: https://headlessui.com/
-
React Ecosystem in 2024
Website: Headless UI
-
Build E-Commerce apps faster with Storefront UI
Few months ago, I discovered project called Headless UI and I instantly liked the idea.
-
Top 5 Headless Components For Your React Application In 2023
In addition to Tailwind CSS, Tailwind Labs also created Headless UI, a collection of components that work well with Tailwind CSS.
-
Accessibility and Headless UI Libraries - Adobe, Radix, Tailwind, MUI
Tailwind - Headless UI
-
Nue: A React/Vue/Vite/Astro Alternative
Thanks for sharing! I love projects that reimagine entire ecosystems: there's a lot of value in imagining what could be if we didn't worry about what is.
Some feedback: your comparison of the various ListBox implementations[0] feels disingenuous. I know Vue best, so I looked at that implementation in detail, and it's got a lot going on that you don't attempt to replicate in your version. A few key features that are missing:
* Search—in the HeadlessUI version there are several hundred lines dedicated to making typing work for jumping to specific list items.
* Multiselect—HeadlessUI supports multiple selections, yours does not appear to. Again, this occupies a lot of lines.
* Focus management—HeadlessUI has a lot of code dedicated to smoothing out the focus management. In my testing, your implementation has pretty buggy support for using tab to navigate.
* The HeadlessUI version dedicates a lot of lines to types, where your Nue implementation is dynamically typed. This may be a feature for you, but in my mind those type declarations are doing important work.
* In general, the HeadlessUI implementation tries to be flexible for many use cases [2], while yours only needs to support the one demo list.
You also include this render.ts file [1] from HeadlessUI, which is more part of a bespoke sub-framework used by HeadlessUI than it is a necessary part of any old Vue ListBox implementation. If you're going to count that against Vue, then there are parts of Nue JS that should be included as well.
These kinds of comparisons are most persuasive if you can write all the implementations from the ground up, using idiomatic patterns for each framework and identical feature sets for each implementation. When you do that, it's easy to compare and contrast the frameworks. As it is, it's like comparing a house to a garden shed: yes, you've used fewer lines of code, but it's not obvious to me that that's a feature of Nue and not just a byproduct of a less ambitious component.
[0] https://nuejs.org/compare/component.html
[1] https://github.com/tailwindlabs/headlessui/blob/%40headlessu...
[2] https://headlessui.com/vue/listbox#component-apihttps://head...
What are some alternatives?
storage - S3 compatible object storage service that stores metadata in Postgres
daisyui - 🌼 🌼 🌼 🌼 🌼 The most popular, free and open-source Tailwind CSS component library
Grafana - The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
flowbite - Open-source UI component library and front-end development framework based on Tailwind CSS
DefinitelyTyped - The repository for high quality TypeScript type definitions.
shadcn/ui - Beautifully designed components that you can copy and paste into your apps. Accessible. Customizable. Open Source.
auth - A JWT based API for managing users and issuing JWT tokens
downshift 🏎 - 🏎 A set of primitives to build simple, flexible, WAI-ARIA compliant React autocomplete, combobox or select dropdown components.
supabase-nextjs-auth - Example project implementing authentication, authorization, and routing with Next.js and Supabase
Material UI - Ready-to-use foundational React components, free forever. It includes Material UI, which implements Google's Material Design.
platforms - A full-stack Next.js app with multi-tenancy and custom domain support. Built with Next.js App Router and the Vercel Domains API.
chakra-ui - ⚡️ Simple, Modular & Accessible UI Components for your React Applications