Jack UI logoJackUI
Blocks

Auth Basic

A modern, responsive authentication card block featuring custom branding, optional social login providers, ambient dot matrix pattern, and dark mode support.

Live Preview
Open in

Jack UI

Secure Login
Forgot?
Remember me
Or continue with

Usage

import AuthBasic from "@/components/jackui/blocks/auth-basic/auth-basic";

export default function AuthPage() {
  return (
    <AuthBasic
      brandName="Jack UI"
      showSocialLogin={true}
    />
  );
}

Installation

bunx shadcn@latest add https://jackui.com/r/auth-basic.json
npx shadcn@latest add https://jackui.com/r/auth-basic.json
pnpm dlx shadcn@latest add https://jackui.com/r/auth-basic.json

Props

PropTypeDescription
brandNamestringOptional. The brand title displayed in the header badge. Default: "Jack UI".
logoReact.ReactNodeOptional. Custom logo React element. If omitted, renders a default clean shield badge.
dotColorLightstringOptional. Border and grid dot matrix color for light mode. Default: "rgba(0, 0, 0, 0.14)".
dotColorDarkstringOptional. Border and grid dot matrix color for dark mode. Default: "rgba(255, 255, 255, 0.16)".
showSocialLoginbooleanOptional. Toggles display of social auth provider buttons (Google, GitHub). Default: true.
classNamestringOptional. Additional Tailwind CSS classes (e.g. background override, full width/height).
styleReact.CSSPropertiesOptional. Inline CSS styles (custom background gradients, full viewport sizing).
...propsReact.ComponentPropsWithoutRef<"section">Optional. Any extra HTML section attributes spread onto the outer container.