# Photo Magic Link block

> Split-screen magic-link sign-in with left image sidebar and social login buttons

Magic-link login page: work email field sends a secure sign-in link, plus Google, Apple, and GitHub social buttons. Two-column split with a full-cover image sidebar. ReUI Frame, shadcn Field, Input, Button, Separator.

- Type: Pro block
- Category: [Auth](https://web.dev.reui.io/blocks/application/auth.md)
- Page: https://web.dev.reui.io/blocks/application/auth/auth-13
- 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-13")`
- Built with: Button, Field, Frame, Input, Item, Separator
- Installs with a ReUI Pro or Ultimate license; setup: https://web.dev.reui.io/docs/license-setup

## Best for

A magic link sign-in with a sticky full-height photo on the left, held in a Frame panel

## Agent notes

- Replace `AUTH13_SIDEBAR_IMAGE_LIGHT` and `AUTH13_SIDEBAR_IMAGE_DARK` in data.tsx; each theme shows only its own photo
- Below lg the `SidebarFrame` photo stacks above the form at a 32rem minimum height, so phones open on the image
- The 15 minute link expiry in the Work email `FieldDescription` is static copy; keep it in sync with your token lifetime

## When not to use

- A password login whose left panel holds a quote and trust logos, not a photo: use [Social Proof Login](https://web.dev.reui.io/blocks/application/auth/auth-18.md) (`get_block("auth-18")`)
- A password form beside a still photo over an animated square grid: use [Photo Split Login](https://web.dev.reui.io/blocks/application/auth/auth-1.md) (`get_block("auth-1")`)

## Install

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

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