Social Auth Row

Two-column row of Continue with GitHub and Continue with Google buttons with click handlers, ready to sit above email fields on sign in and sign up screens.

src/registry/ui/social-auth-row.tsx/r/social-auth-row.json

Installation#

bash
npx shadcn@latest add @minidev/social-auth-row

MiniDev UI is in the shadcn registry directory, so the short form works with no setup. Older CLI versions can use the full URL: npx shadcn@latest add https://ui.minidev.pro/r/social-auth-row.json

Usage#

tsx
import { SocialAuthRow } from "@/components/ui/social-auth-row"

export function Example() {
  return (
    <SocialAuthRow />
  )
}

API reference#

SocialAuthRow props
PropTypeDefault
onGithub() => void-
onGoogle() => void-
classNamestring-

Dependencies#

npm

React only

Built from

Examples#

All login and signup components

Learn more