Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

consolidates

Coppleb46718966bd0
diff --git a/apps/reference/docs/guides/auth/auth-ui/auth-ui-install.mdx b/apps/reference/docs/guides/auth/auth-ui/auth-ui-install.mdx
deleted file mode 100644
index c4692b8e14e..00000000000
--- a/apps/reference/docs/guides/auth/auth-ui/auth-ui-install.mdx
+++ /dev/null
@@ -1,56 +0,0 @@
----
-id: auth-ui-install
-title: Installation
-description: Securing your user data with Row Level Security.
----
-
-# Auth UI
-
-Auth UI is a React component that provides a simple way to authenticate users.
-
-It is currently only available for React, however it is planned to be available for other frameworks.
-
-Auth UI relies on [@supabase/supabase-js](/docs/reference/javascript/next/). You need to also [install @supabase/supabase-js](/docs/reference/javascript/next/installing).
-
-### Install via NPM
-
-Install the NPM package from @supabase/react-ui-react
-
-```bash
-npm install @supabase/react-ui-react @supabase/supabase-js@rc
-```
-
-### Import Auth component
-
-The simplest way to use the component is to pass `supabaseClient` from @supabase/supabase-js as a prop to the component.
-
-```js title="/src/index.js"
-import { createClient } from '@supabase/supabase-js'
-import { Auth } from '@supabase/react-ui-react'
-
-const supabase = createClient(
- '<INSERT PROJECT URL>',
- '<INSERT PROJECT ANON API KEY>'
-)
-
-const App = () => <Auth supabaseClient={supabase} />
-```
-
-The example above renders the Auth component without any styling.
-
-We recommend using one of the themes provided to style the UI.
-Import the theme you want to use and pass it to the `appearence.theme` prop.
-
-```diff js title="/src/index.js"
-import {
- Auth,
-+ ThemeSupa
-} from '@supabase/react-ui-react'
-
-const App = () => (
- <Auth
- supabaseClient={supabase}
-+ appearance={{ theme: ThemeSupa }}
- />
-)
-```
diff --git a/apps/reference/docs/guides/auth/auth-ui/auth-ui-customization.mdx b/apps/reference/docs/guides/auth/auth-ui/auth-ui-overview.mdx
similarity index 82%
rename from apps/reference/docs/guides/auth/auth-ui/auth-ui-customization.mdx
rename to apps/reference/docs/guides/auth/auth-ui/auth-ui-overview.mdx
index a72dcc07e41..b790c0b2245 100644
--- a/apps/reference/docs/guides/auth/auth-ui/auth-ui-customization.mdx
+++ b/apps/reference/docs/guides/auth/auth-ui/auth-ui-overview.mdx
@@ -1,9 +1,60 @@
---
-id: auth-ui-customization
-title: Customization
+id: auth-ui-overview
+title: Auth UI
description: Securing your user data with Row Level Security.
---
+# Auth UI
+
+Auth UI is a React component that provides a simple way to authenticate users.
+
+It is currently only available for React, however it is planned to be available for other frameworks.
+
+Auth UI relies on [@supabase/supabase-js](/docs/reference/javascript/next/). You need to also [install @supabase/supabase-js](/docs/reference/javascript/next/installing).
+
+### Install via NPM
+
+Install the NPM package from @supabase/react-ui-react
+
+```bash
+npm install @supabase/react-ui-react @supabase/supabase-js@rc
+```
+
+### Import Auth component
+
+The simplest way to use the component is to pass `supabaseClient` from @supabase/supabase-js as a prop to the component.
+
+```js title="/src/index.js"
+import { createClient } from '@supabase/supabase-js'
+import { Auth } from '@supabase/react-ui-react'
+
+const supabase = createClient(
+ '<INSERT PROJECT URL>',
+ '<INSERT PROJECT ANON API KEY>'
+)
+
+const App = () => <Auth supabaseClient={supabase} />
+```
+
+The example above renders the Auth component without any styling.
+
+We recommend using one of the themes provided to style the UI.
+Import the theme you want to use and pass it to the `appearence.theme` prop.
+
+```diff js title="/src/index.js"
+import {
+ Auth,
++ ThemeSupa
+} from '@supabase/react-ui-react'
+
+const App = () => (
+ <Auth
+ supabaseClient={supabase}
++ appearance={{ theme: ThemeSupa }}
+ />
+)
+```
+
# Customizing Auth UI
Auth UI is a React component that provides a UI that 'works out of the box'.
diff --git a/apps/reference/nav/_referenceSidebars.js b/apps/reference/nav/_referenceSidebars.js
index 4323d73aa43..7c3ab6a1c3c 100644
--- a/apps/reference/nav/_referenceSidebars.js
+++ b/apps/reference/nav/_referenceSidebars.js
@@ -147,6 +147,12 @@ const sidebars = {
'guides/auth/managing-user-data',
],
},
+ {
+ type: 'category',
+ label: 'Auth Helpers',
+ collapsed: true,
+ items: ['guides/auth/auth-ui/auth-ui-overview'],
+ },
{
type: 'category',
label: 'Deep Dive',
@@ -159,15 +165,6 @@ const sidebars = {
'learn/auth-deep-dive/auth-google-oauth',
],
},
- {
- type: 'category',
- label: 'Auth UI',
- collapsed: true,
- items: [
- 'guides/auth/auth-ui/auth-ui-install',
- 'guides/auth/auth-ui/auth-ui-customization',
- ],
- },
],
},
{