# Social Proof Login block

> Split-screen sign-in with testimonial sidebar, social login, and password show/hide toggle

Two-column login: email or username field, password Input with show/hide toggle, Google and Apple buttons, plus a testimonial and trust-brand sidebar. Uses shadcn Field, InputGroup, Avatar, Item, Separator, Button. For login and sign-in pages.

- Type: Pro block
- Category: [Auth](https://web.dev.reui.io/blocks/application/auth.md)
- Page: https://web.dev.reui.io/blocks/application/auth/auth-18
- Docs (Base UI): https://ui.shadcn.com/docs/components/base/field.md
- Docs (Radix UI): https://ui.shadcn.com/docs/components/radix/field.md
- MCP: `get_block("auth-18")`
- Built with: Avatar, Button, Field, Input, Input Group, Item, Separator
- Installs with a ReUI Pro or Ultimate license; setup: https://web.dev.reui.io/docs/license-setup

## Best for

A password login with a left testimonial panel of 5 stars, 1 quote and 4 brand wordmarks on animated grid squares

## Agent notes

- Replace `AUTH18_TESTIMONIAL`, `AUTH18_TRUST_BRANDS` and `AUTH18_PROVIDERS` in data.tsx; the quote credits a demo ReUI co-founder
- Forgot password? and Sign up in `LoginForm` render as link `Button` elements with no `onClick`; send them to your reset and registration routes
- Below lg, `Sidebar` renders above `LoginForm` at a 34rem minimum height, so phones scroll past the quote before the form

## When not to use

- A centered password card on a blank page, with no quote or logo panel: use [Centered Password Login](https://web.dev.reui.io/blocks/application/auth/auth-20.md) (`get_block("auth-20")`)
- Members of an approved workspace who get an emailed link and never set a password: use [Invite-Only Sign-In](https://web.dev.reui.io/blocks/application/auth/auth-19.md) (`get_block("auth-19")`)

## Third-party libraries

- Motion v12: [API reference](https://motion.dev/docs/react-motion-component), [docs](https://motion.dev/docs/react) (the docs follow the latest Motion, with no React API break since v12)

## Install

```bash
npx shadcn@latest add @reui/auth-18
```

## About Auth blocks

### When to use

- A full page sign-in screen by password, emailed magic link or passkey, with social provider buttons
- A free trial signup page that opens an account from a work email or a social provider
- A split login layout that pairs the sign-in with a testimonial, a customer logo wall or a photo panel

### When not to use

- A data entry page inside the product, such as intake, invites or sign-in method rules: use the [Form blocks](https://web.dev.reui.io/blocks/application/form.md)
- Security options a signed in admin edits, such as session timeout and access toggles: use the [Settings blocks](https://web.dev.reui.io/blocks/application/settings.md)
- A newsletter or waitlist email capture band on a landing page: use the [CTA blocks](https://web.dev.reui.io/blocks/marketing/cta.md)

### Agent notes

- Each form's submit handler only calls `preventDefault`; call your auth backend from it
- The social and SSO provider buttons have no `onClick`; start your OAuth or SAML redirect from each
- Replace the `AuthLogo` mark in auth-logo.tsx with your own brand logo

Every ReUI item has a twin like this one; the index is https://web.dev.reui.io/llms.txt. Agents with the ReUI MCP (https://web.dev.reui.io/docs/mcp) get the same guidance from the getters named above.
