BETTER-AUTH. UI

Quick Start

Getting Started with Better Auth UI for shadcn/ui

Prerequisites

Before you start, make sure you have the following prerequisites integrated into your project:

Installation

Install the components

Install the shadcn/ui components using shadcn CLI or your preferred package manager.

npx shadcn@latest add https://better-auth-ui.com/r/auth.json
npm install @better-auth-ui/shadcn@latest

Configure TailwindCSS

Please skip this step if you are using the registry method.

Add the following @import to your global css.

styles/globals.css
@import "@better-auth-ui/shadcn/styles";

Next Steps

Follow a framework-specific guide to integrate Better Auth UI into your project.

Last updated on

On this page