BETTER-AUTH. UI

Quick Start

Get started with Better Auth UI for HeroUI.

Prerequisites

Install these prerequisites in your project:

Installation

Install the libraries

Install @better-auth-ui/heroui, @better-auth-ui/react, and @better-auth-ui/core using your preferred package manager.

npm install @better-auth-ui/heroui@latest @better-auth-ui/react@latest @better-auth-ui/core@latest

Configure Tailwind CSS

Add this @import to the global CSS file:

styles/app.css
@import "@better-auth-ui/heroui/styles";

The <Auth /> router includes the built-in authentication views.

Next steps

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

React Reference

Each HeroUI component uses the shared @better-auth-ui/react data layer. Read the React reference to access or change authentication state directly.

Last updated on

On this page