GitXplorerGitXplorer
s

auth-ui

public
509 stars
128 forks
36 issues

Commits

List of commits on branch main.
Verified
5ccb32c38624bcc3fb827def59a811c864ff496a

Merge pull request #255 from supabase-community/j0/bump_supabase_js_version

JJ0 committed 2 months ago
Verified
2aa08a5b3a85b9fb8d606a02caf28b17b8385f9a

Merge pull request #256 from supabase/j0/add_deprecation_notice

JJ0 committed a year ago
Verified
aabef30457a91d3f127d16120acbe8293aa9562a

Apply suggestions from code review

JJ0 committed a year ago
Verified
7dc847336f32a1e34590ab8300ac13966bf30337

Update README.md

JJ0 committed a year ago
Verified
0532e5bd65e0c2608692509f600e1464854a20e2

Update README.md

JJ0 committed a year ago
Verified
3cda38fba34c55c1dab92e24b18056531819c0c9

Update README.md

JJ0 committed a year ago

README

The README file for this repository.

Maintenance Mode

As of 7th Feb 2024, this repository is no longer maintained by the Supabase Team. At the moment, the team does not have capacity to give the expected level of care to this repository. We may revisit Auth UI in the future but regrettably have to leave it on hold for now as we focus on other priorities such as improving the Auth Helpers and advanced Auth primitives.

The repository itself will continue to exist and we will move bulk of the Auth UI to Supabase-Community over the next few weeks. A subset of components within the Next.js ecosystem, such as Forgot Password Pages, will be iterated on. We will continue to keep the latest packages for frameworks available at @supabase/auth-ui-svelte.

We would like to thank everyone for your contributions to the repository. Please feel free to open an issue if you have any questions or concerns.

Thank you.

Supabase Auth UI

Supabase Auth UI is a collection of pre built UI components that work seamlessly with @supabase/auth-helpers.

The main purpose of these components is to allow developers to get working on their apps quickly, but also be able to use their own style/css.

Auth UI is kept deliberately separate from @supabase/auth-helpers so that developers can migrate away from pre-built UI components as their UI system naturally matures.

Screenshot 2022-04-30 at 9 30 25 PM

Supported frameworks

Examples and Packages

  • Examples
  • Packages
    • @supabase/auth-ui-react: the supabase auth ui reactjs library used by react application
    • @supabase/auth-ui-solid: the supabase auth ui solid.js library used by solid.js application
    • @supabase/auth-ui-svelte: the supabase auth ui svelte library used by svelte application
    • shared: shared typescript types used by @supabase/auth-ui-[framework] library
    • tsconfig: tsconfig.jsons used throughout the monorepo

Each package/app is 100% TypeScript.

Localization

Localizations are no longer distributed with the package in order to keep the package size small. You can now import the localization you need by copying the file from this repo and importing it into your project then passing it to the localization.variables param of the Auth component.

import { Auth } from '@supabase/auth-ui-react'
import * as ja from './path-to-localization-file.json'
...
<Auth
  supabaseClient={supabase}
  localization={{
    variables: ja
  }}
/>
...

Development

Read the development.md for more information.

Using a @supabase/auth-ui-[framework-name] naming convention for packages