# Photo Split Login block

> Split-screen login page with animated grid backdrop and editorial image panel

Sign-in page pairing an email or username and password form with show/hide toggle and Google plus Apple buttons over a masked animated grid and a full-height photo. Uses shadcn Field, InputGroup, Separator, Button, Card. Login, auth, sign in screen.

- Type: Pro block
- Category: [Auth](https://web.dev.reui.io/blocks/application/auth.md)
- Page: https://web.dev.reui.io/blocks/application/auth/auth-1
- 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-1")`
- Built with: Button, Card, 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 beside a tall photo, over grid squares that light up around the form but never under it

## Agent notes

- Swap the light and dark Unsplash photos in `AuthPreviewPanel` for your own; the panel is hidden below the lg breakpoint
- `AuthGridBackground` keeps its squares off the element marked `data-auth-surface`; keep that attribute on the form wrapper
- Forgot password and Sign up in `LoginForm` are link buttons with no `onClick`; route them to your reset and signup pages

## When not to use

- A quote and trust logo panel on the left, over an animated square grid: use [Social Proof Login](https://web.dev.reui.io/blocks/application/auth/auth-18.md) (`get_block("auth-18")`)
- An emailed sign-in link for approved workspace members, with no 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-1
```

## 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.
