better-auth-ui 3.2.6 → 3.2.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -10,7 +10,7 @@
10
10
 
11
11
  Plug & play shadcn/ui auth components for [better-auth](https://better-auth.com).
12
12
 
13
- - *Own Your Auth*
13
+ - _Own Your Auth_
14
14
 
15
15
  [Demo](https://newtech.dev/auth/login) - [Documentation](https://better-auth-ui.com) - [Roadmap](https://betterauthui.featurebase.app/roadmap)
16
16
 
@@ -42,13 +42,40 @@ Plug & play shadcn/ui auth components for [better-auth](https://better-auth.com)
42
42
 
43
43
  <img src="docs/public/screenshots/settings-cards-dark.png" alt="Settings Cards Dark" width="384" /><img src="docs/public/screenshots/settings-cards-light.png" alt="Settings Cards Light" width="384" />
44
44
 
45
+ ## Installation
46
+
47
+ ```bash
48
+ pnpm add better-auth-ui
49
+ ```
50
+
51
+ ## Quick Start
52
+
53
+ 1. **Wrap your app** with the `AuthUIProvider`:
54
+
55
+ ```tsx
56
+ import { AuthUIProvider } from "better-auth-ui";
57
+
58
+ export default function RootLayout({ children }) {
59
+ return <AuthUIProvider>{children}</AuthUIProvider>;
60
+ }
61
+ ```
62
+
63
+ 2. **Use the components** anywhere in your app:
64
+
65
+ ```tsx
66
+ import { SignInCard } from "better-auth-ui";
67
+
68
+ export default function LoginPage() {
69
+ return <SignInCard />;
70
+ }
71
+ ```
72
+
45
73
  ---
46
74
 
47
75
  Fully customizable!
48
76
 
49
- Coming Soon: API Keys, Organization, and more!
77
+ Organizations and Settings are now supported!
50
78
 
51
79
  ## License
52
80
 
53
81
  This project is licensed under the MIT License. See the LICENSE file for details.
54
- "# better-auth-ui"