# @supabase/auth-ui-shared

Latest version **0.1.8** (published 2023-10-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install @supabase/auth-ui-shared
pnpm add @supabase/auth-ui-shared
yarn add @supabase/auth-ui-shared
bun add @supabase/auth-ui-shared
```

## Health

**Score 35/100 (D)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.1.8 |
| Published | 2023-10-14 |
| First published | 2023-02-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 87.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 544 |
| Author | Supabase |
| Maintainers | gregnr, soedirgo, inian, kiwicopple, ange1ico, awalias, phamhieu1998 |
| Keywords | Supabase, Auth, React, Svelte, Solid |

## Links

- npm: https://www.npmjs.com/package/@supabase/auth-ui-shared
- Repository: https://github.com/supabase/auth-ui
- Homepage: https://github.com/supabase/auth-ui#readme
- Issues: https://github.com/supabase/auth-ui/issues
- npm.io page: https://npm.io/package/@supabase/auth-ui-shared

## Alternatives

- [@clerk/clerk-expo](https://npm.io/package/@clerk/clerk-expo.md) — 133.6K weekly downloads
- [@pothos/plugin-authz](https://npm.io/package/@pothos/plugin-authz.md) — 12.4K weekly downloads
- [@bounded-sh/client](https://npm.io/package/@bounded-sh/client.md) — 3.2K weekly downloads
- [@luigi-project/plugin-auth-oauth2](https://npm.io/package/@luigi-project/plugin-auth-oauth2.md) — 2.3K weekly downloads
- [@nocobase/plugin-verification](https://npm.io/package/@nocobase/plugin-verification.md) — 2.0K weekly downloads

## Recent versions

- 0.1.8 (latest) — 2023-10-14
- 0.1.7 — 2023-09-17
- 0.1.6 — 2023-05-09
- 0.1.5 — 2023-05-08
- 0.1.4 — 2023-05-03
- 0.1.3 — 2023-03-07
- 0.1.2 — 2023-03-03
- 0.1.1 — 2023-03-01
- 0.1.0 — 2023-02-27

## README

# Maintenance Mode

> [!IMPORTANT]  
> 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 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.

<img width="552" alt="Screenshot 2022-04-30 at 9 30 25 PM" src="https://user-images.githubusercontent.com/8291514/166107630-edb5190c-1d27-4757-8960-11ef14f87af1.png">


## Supported frameworks

- [React.js](https://reactjs.org/) [[Documentation](https://supabase.com/docs/guides/auth/auth-helpers/auth-ui)]
- [Solid.js](https://www.solidjs.com/)
- [Svelte](https://svelte.dev/)

### Examples and Packages

- Examples
  - `@example/react`: a [React.js](./examples/react) app
  - `@example/solid`: a [Solid.js](./examples/solidjs) app
  - `@example/svelte`: a [Svelte](./examples/svelte) app
- 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.json`s used throughout the monorepo

Each package/app is 100% [TypeScript](https://www.typescriptlang.org/).

## 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.

```tsx
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](./development.md) for more information.

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

---
_Source: https://npm.io/package/@supabase/auth-ui-shared · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
