Skip to content

tecmie/auth-ui-woo

 
 

Repository files navigation

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
    • @wootiv/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 '@wootiv/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

Packages

No packages published

Languages

  • TypeScript 69.3%
  • Svelte 29.5%
  • Other 1.2%