Getting started
Installation
Follow the steps below to install the @daveyplate/better-auth-ui library.
Install the Package
Install the @daveyplate/better-auth-ui library using your preferred package manager.
npm install @daveyplate/better-auth-ui@latestpnpm add @daveyplate/better-auth-ui@latestyarn add @daveyplate/better-auth-ui@latestbun add @daveyplate/better-auth-ui@latestTailwindCSS Configuration
For TailwindCSS v4, add the following @import to your global css:
@import "@daveyplate/better-auth-ui/css";For TailwindCSS v3 (Deprecated), add the following content to your Tailwind config:
content: [
    "./node_modules/@daveyplate/better-auth-ui/dist/**/*.{js,ts,jsx,tsx,mdx}"
]Integrations
Now that you've installed @daveyplate/better-auth-ui, follow one of the guides below to integrate it with your preferred framework: