BETTER-AUTH. UI
Components

<SignUp />

A complete sign-up form component with name, email, password fields, optional magic link, and social provider support.

Usage

import { SignUp } from "@/components/auth/sign-up"

function RouteComponent() {
  return (
    <div className="flex flex-col p-4 md:p-6 my-auto items-center">
      <SignUp magicLink socialProviders={["github", "google"]} />
    </div>
  )
}
import { SignUp } from "@better-auth-ui/shadcn"

function RouteComponent() {
  return (
    <div className="flex flex-col p-4 md:p-6 my-auto items-center">
      <SignUp />
    </div>
  )
}

Installation

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

Props

Prop

Type

Last updated on

On this page