# Magic link sign-in with a pixel tile

> A passwordless sign-in page where a mint app tile drops in and pops its pixels, three providers sit on top and an email link confirms with open-inbox buttons.

- Category: Productivity
- Version: 1.0
- Source: https://ownlyplans.com/bhaskar/magic-link-sign-in-with-a-pixel-tile/

## Overview

A single-file passwordless sign-in page in plain HTML, CSS and JavaScript. A mint app tile drops in on a spring and its eight pixels pop in around the ring, with the white centre dot last and a bigger bounce. Underneath: the title, Google, GitHub and Apple buttons sharing one row, an "or" rule and a single email field. The button rolls from "Email me a sign-in link" to Sending link and then a mint Check your inbox. A confirmation panel then opens with the address, Open Gmail and Open Outlook buttons, a "Use a different email" link and a 30-second resend countdown. The page sits on a faint grid that fades out from the centre. The demo brand is Gridnote; put your calls in onSubmit and onProvider at the top of the script.

## Tech stack

- CSS
- HTML
- JavaScript

## Build steps

### 1. Lay out the tile, providers and email field

Build the clean white page with the faded grid, the mint tile, the title, three provider buttons, the "or" rule and the email form.

Prompt:

```text
Create a single-file HTML sign-in page for a notes app called "Gridnote", plain HTML, CSS and JavaScript, passwordless. White page with a 44px light grid that fades out from the centre through a radial mask, plus a soft mint glow behind the top. Centre a 352px column: a 66px mint tile (gradient #b3f7d5 to #4fd99a, 20px corners, inner highlight and a green drop shadow, role="img" named Gridnote) holding a 3 x 3 mark of eight dark green rounded squares around a white centre dot; the title "Sign in to Gridnote" in Bricolage Grotesque 600 27px; a muted line "One account for every board. New here? We'll set you up as you go."; a row of three equal 42px buttons with the Google, GitHub and Apple marks and names; a thin "or" rule hidden from screen readers; a 46px email field with a visually hidden label and the placeholder you@work.com; a 46px near-black "Email me a sign-in link" button; and a small terms line with Terms and Privacy Policy links.
```

**Done when:** The tile, title, three providers, the or rule, the email field, the button and the terms line sit in one centred column.

### 2. Animate the tile and the rows

From one animation loop, drop the tile in on a spring, pop its pixels in turn and bring each row in on a stagger.

Prompt:

```text
Start one requestAnimationFrame loop when fonts are ready. Use a damped spring 1 - e^(-kx)·cos(wx). The tile falls 46px and untilts from 10 degrees over 1 s. Each of the eight squares scales from 0 around the ring, 60ms apart from 0.35 s (transform-box: fill-box so each scales about its own centre), and the white centre dot pops last with a looser, bouncier spring. Each row (title, line, providers, rule, form, terms) rises 10px and un-blurs from 5px, 70ms apart from 0.55 s. With prefers-reduced-motion, show the tile and rows with a fade only. On windows shorter than 640px, shrink the tile to 54px and tighten the gaps.
```

**Done when:** The tile bounces in, its pixels pop around the ring with the centre dot last, and the rows rise in one by one.

### 3. Send the link and confirm

Validate the email, roll the button through its states and open a confirmation panel with inbox shortcuts and a resend timer.

Prompt:

```text
On submit, check the email with the browser and show a friendly custom message if it is empty or incomplete. Otherwise stack three labels in the button (Email me a sign-in link; spinner + Sending link…; envelope + Check your inbox) and ease between them with translateY; turn the button mint with dark green text when sent, disable it and make the field read-only. Keep a visually hidden polite copy of the label and announce "Sign-in link sent to …" in a status region. Then open a panel to its natural height under the form (mint tint, 14px corners): "We sent a sign-in link to <b>address</b>. It works once and expires in 10 minutes.", two buttons Open Gmail and Open Outlook, a "Use a different email" link that resets the form and focuses the field, and a "Resend in 0:30" button that counts down and becomes "Resend link". Put the real calls in onSubmit(email) and onProvider(name).
```

**Done when:** Typing an address and pressing the button rolls to Sending link… then Check your inbox, and the panel opens with the inbox buttons and a counting resend timer.

## Assets

### gridnote-sign-in.html — The finished file. Open it in a browser. Put your calls in onSubmit and onProvider at the top of the script.

```
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
<meta name="theme-color" content="#ffffff" />
<title>Sign in · Gridnote</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600;12..96,700&family=Inter+Tight:wght@400;500;600&display=swap" rel="stylesheet" />
<style>
:root{--ink:#111214;--muted:#6b6f78;--line:#e4e6ea;--mint:#8ff0c0;--mint2:#4fd99a;--mintInk:#08331f}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;background:#fff;color:var(--ink);font-family:"Inter Tight",system-ui,-apple-system,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}
.gn-page{position:relative;min-height:100vh;min-height:100svh;display:grid;place-items:center;padding:32px 18px;overflow:hidden}
.gn-page::before{content:"";position:absolute;inset:0;z-index:-1;
  background-image:linear-gradient(#eef0f3 1px,transparent 1px),linear-gradient(90deg,#eef0f3 1px,transparent 1px);background-size:44px 44px;background-position:center;
  -webkit-mask-image:radial-gradient(46% 52% at 50% 46%,#000 0%,transparent 100%);mask-image:radial-gradient(46% 52% at 50% 46%,#000 0%,transparent 100%)}
.gn-page::after{content:"";position:absolute;left:50%;top:22%;width:420px;height:300px;transform:translateX(-50%);z-index:-1;border-radius:50%;background:radial-gradient(closest-side,rgba(143,240,192,.35),transparent);filter:blur(10px)}

.gn-col{width:min(352px,100%);display:flex;flex-direction:column;align-items:center;text-align:center}
.gn-tile{position:relative;width:66px;height:66px;border-radius:20px;display:grid;place-items:center;margin-bottom:22px;
  background:linear-gradient(160deg,#b3f7d5,var(--mint) 45%,var(--mint2));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7),inset 0 -3px 0 rgba(8,51,31,.12),0 14px 28px -12px rgba(40,180,110,.65),0 0 0 1px rgba(8,51,31,.06)}
.gn-tile svg{width:32px;height:32px}
.gn-tile rect,.gn-tile circle{transform-box:fill-box;transform-origin:center;transform:scale(0)}
.gn-title{margin:0;font-family:"Bricolage Grotesque","Inter Tight",sans-serif;font-weight:600;font-size:27px;letter-spacing:-.03em}
.gn-sub{margin:8px 0 24px;font-size:14.5px;line-height:1.5;color:var(--muted)}

.gn-providers{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;width:100%}
.gn-providers button{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:42px;padding:0 8px;border-radius:12px;border:0;background:#fff;cursor:pointer;font:inherit;font-size:14px;font-weight:500;color:var(--ink);
  box-shadow:0 0 0 1px var(--line),0 1px 2px rgba(17,18,20,.05);transition:box-shadow .2s,transform .15s,background .2s}
.gn-providers button:hover{background:#fafbfc;box-shadow:0 0 0 1px #cfd3d9,0 6px 14px -8px rgba(17,18,20,.3);transform:translateY(-1px)}
.gn-providers svg{width:16px;height:16px;flex:none}
.gn-or{display:flex;align-items:center;gap:12px;width:100%;margin:18px 0;font-size:13px;color:#9a9ea6}
.gn-or::before,.gn-or::after{content:"";flex:1;height:1px;background:var(--line)}

.gn-form{width:100%;display:flex;flex-direction:column;gap:10px}
.gn-input{width:100%;height:46px;padding:0 14px;border-radius:12px;border:0;outline:0;background:#fff;font:inherit;font-size:15px;color:var(--ink);
  box-shadow:0 0 0 1px var(--line),inset 0 1px 2px rgba(17,18,20,.04);transition:box-shadow .2s}
.gn-input::placeholder{color:#a0a4ab}
.gn-input:focus{box-shadow:0 0 0 1.5px #23b874,0 0 0 5px rgba(79,217,154,.2)}
.gn-btn{position:relative;height:46px;border:0;border-radius:12px;cursor:pointer;overflow:hidden;color:#fff;font:inherit;font-weight:500;font-size:15px;
  background:linear-gradient(180deg,#26282c,var(--ink));box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 8px 18px -8px rgba(17,18,20,.6);transition:transform .15s,background .3s,color .3s}
.gn-btn:hover{transform:translateY(-1px)}
.gn-btn:active{transform:scale(.985)}
.gn-btn[data-state="sent"]{background:linear-gradient(180deg,#a7f5cf,var(--mint));color:var(--mintInk)}
.gn-roll{position:absolute;inset:0}
.gn-roll span{position:absolute;left:0;right:0;height:46px;display:flex;align-items:center;justify-content:center;gap:8px}
.gn-roll svg{width:16px;height:16px}

.gn-sent{width:100%;overflow:hidden;height:0}
.gn-sent-in{margin-top:12px;padding:14px;border-radius:14px;background:#f4fbf7;box-shadow:inset 0 0 0 1px #d4f1e2;text-align:left}
.gn-sent p{margin:0 0 10px;font-size:13.5px;line-height:1.5;color:#3d4a43}
.gn-sent b{color:var(--ink);font-weight:600;word-break:break-all}
.gn-mail{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.gn-mail a{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:36px;border-radius:10px;background:#fff;text-decoration:none;font-size:13.5px;font-weight:500;color:var(--ink);box-shadow:0 0 0 1px #d4e9dd}
.gn-mail a:hover{box-shadow:0 0 0 1px #9fd9bb}
.gn-mail svg{width:15px;height:15px}
.gn-after{display:flex;justify-content:space-between;margin-top:10px;font-size:13px}
.gn-after button{border:0;background:none;padding:0;font:inherit;color:#1c8a57;font-weight:500;cursor:pointer}
.gn-after button:disabled{color:#9aa39f;cursor:default;font-variant-numeric:tabular-nums}
.gn-after button:not(:disabled):hover{text-decoration:underline}

.gn-terms{margin:18px 0 0;font-size:12.5px;line-height:1.55;color:#8b9098}
.gn-terms a{color:#4a4f57}
:is(.gn-providers button,.gn-btn,.gn-mail a,.gn-after button,.gn-terms a):focus-visible{outline:2px solid #23b874;outline-offset:2px}
.gn-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media (max-height:640px){.gn-tile{width:54px;height:54px;border-radius:16px;margin-bottom:16px}.gn-sub{margin-bottom:18px}.gn-or{margin:14px 0}}
</style>
</head>
<body>
<main class="gn-page">
  <section class="gn-col" aria-labelledby="gn-title">
    <div class="gn-tile" role="img" aria-label="Gridnote">
      <svg viewBox="0 0 32 32" aria-hidden="true">
        <rect x="4" y="4" width="7" height="7" rx="2" fill="#0b3b25"/>
        <rect x="12.5" y="4" width="7" height="7" rx="2" fill="#0b3b25"/>
        <rect x="21" y="4" width="7" height="7" rx="2" fill="#0b3b25"/>
        <rect x="21" y="12.5" width="7" height="7" rx="2" fill="#0b3b25"/>
        <rect x="21" y="21" width="7" height="7" rx="2" fill="#0b3b25"/>
        <rect x="12.5" y="21" width="7" height="7" rx="2" fill="#0b3b25"/>
        <rect x="4" y="21" width="7" height="7" rx="2" fill="#0b3b25"/>
        <rect x="4" y="12.5" width="7" height="7" rx="2" fill="#0b3b25"/>
        <circle cx="16" cy="16" r="3.9" fill="#fff"/>
      </svg>
    </div>
    <h1 class="gn-title" id="gn-title" data-row>Sign in to Gridnote</h1>
    <p class="gn-sub" data-row>One account for every board. New here? We'll set you up as you go.</p>

    <div class="gn-providers" data-row>
      <button type="button" data-provider="google"><svg viewBox="0 0 24 24" aria-hidden="true"><path fill="#4285F4" d="M22.6 12.3c0-.8-.1-1.5-.2-2.3H12v4.3h6a5.1 5.1 0 0 1-2.2 3.4v2.8h3.6c2.1-2 3.2-4.8 3.2-8.2z"/><path fill="#34A853" d="M12 23c3 0 5.5-1 7.4-2.7l-3.6-2.8c-1 .7-2.3 1.1-3.8 1.1-2.9 0-5.4-2-6.3-4.6H2v2.9A11 11 0 0 0 12 23z"/><path fill="#FBBC05" d="M5.7 14c-.2-.7-.4-1.3-.4-2s.1-1.4.4-2V7.1H2A11 11 0 0 0 2 16.9z"/><path fill="#EA4335" d="M12 5.4c1.6 0 3.1.6 4.2 1.7l3.2-3.2A11 11 0 0 0 2 7.1L5.7 10c.9-2.6 3.4-4.6 6.3-4.6z"/></svg>Google</button>
      <button type="button" data-provider="github"><svg viewBox="0 0 24 24" aria-hidden="true"><path fill="#111" d="M12 1.5a10.5 10.5 0 0 0-3.3 20.5c.5.1.7-.2.7-.5v-1.8c-2.9.6-3.5-1.4-3.5-1.4-.5-1.2-1.2-1.5-1.2-1.5-1-.7.1-.7.1-.7 1 .1 1.6 1.1 1.6 1.1.9 1.6 2.5 1.2 3.1.9.1-.7.4-1.2.7-1.4-2.3-.3-4.8-1.2-4.8-5.2 0-1.1.4-2.1 1.1-2.8-.1-.3-.5-1.4.1-2.8 0 0 .9-.3 2.9 1.1a10 10 0 0 1 5.2 0c2-1.4 2.9-1.1 2.9-1.1.6 1.4.2 2.5.1 2.8.7.7 1.1 1.7 1.1 2.8 0 4-2.5 4.9-4.8 5.2.4.3.7 1 .7 1.9v2.9c0 .3.2.6.7.5A10.5 10.5 0 0 0 12 1.5z"/></svg>GitHub</button>
      <button type="button" data-provider="apple"><svg viewBox="0 0 24 24" aria-hidden="true"><path fill="#111" d="M16.4 12.6c0-2.6 2.1-3.8 2.2-3.9-1.2-1.8-3.1-2-3.7-2-1.6-.2-3.1.9-3.9.9-.8 0-2-.9-3.4-.9-1.7 0-3.3 1-4.2 2.6-1.8 3.1-.5 7.7 1.3 10.2.9 1.2 1.9 2.6 3.2 2.6 1.3-.1 1.8-.8 3.3-.8 1.6 0 2 .8 3.4.8s2.2-1.3 3.1-2.5c1-1.4 1.4-2.8 1.4-2.9 0 0-2.7-1-2.7-4.1zM13.9 5c.7-.9 1.2-2 1-3.2-1 0-2.2.7-3 1.5-.6.7-1.2 1.9-1 3.1 1.1.1 2.3-.6 3-1.4z"/></svg>Apple</button>
    </div>

    <div class="gn-or" aria-hidden="true" data-row>or</div>

    <form class="gn-form" data-row novalidate>
      <label class="gn-sr" for="gn-email">Email address</label>
      <input class="gn-input" id="gn-email" type="email" name="email" placeholder="you@work.com" autocomplete="email" required />
      <button class="gn-btn" type="submit" data-state="idle">
        <span class="gn-roll" aria-hidden="true">
          <span>Email me a sign-in link</span>
          <span><svg data-spin viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M14 8a6 6 0 1 1-4.2-5.7"/></svg>Sending link…</span>
          <span><svg viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><rect x="1.8" y="3.2" width="12.4" height="9.6" rx="2"/><path d="m2.5 4.5 5.5 4 5.5-4"/></svg>Check your inbox</span>
        </span>
        <span class="gn-sr" aria-live="polite" data-label>Email me a sign-in link</span>
      </button>
    </form>

    <div class="gn-sent" aria-hidden="true">
      <div class="gn-sent-in">
        <p>We sent a sign-in link to <b data-to></b>. It works once and expires in 10 minutes.</p>
        <div class="gn-mail">
          <a href="https://mail.google.com" target="_blank" rel="noopener"><svg viewBox="0 0 24 24" aria-hidden="true"><path fill="#EA4335" d="M3 6.5 12 13l9-6.5V18a1.5 1.5 0 0 1-1.5 1.5H17V10l-5 3.6L7 10v9.5H4.5A1.5 1.5 0 0 1 3 18z"/><path fill="#FBBC05" d="M17 10v9.5h2.5A1.5 1.5 0 0 0 21 18V6.5z"/><path fill="#34A853" d="M3 6.5V18a1.5 1.5 0 0 0 1.5 1.5H7V10z"/><path fill="#C5221F" d="M3 6.5 12 13l9-6.5-1.5-1.7L12 10.3 4.5 4.8z"/></svg>Open Gmail</a>
          <a href="https://outlook.live.com" target="_blank" rel="noopener"><svg viewBox="0 0 24 24" aria-hidden="true"><rect x="3" y="5" width="18" height="14" rx="2.5" fill="#0A64D6"/><circle cx="9.5" cy="12" r="3.2" fill="none" stroke="#fff" stroke-width="1.8"/><path d="M14 9.5h5M14 12h5M14 14.5h5" stroke="#cfe3ff" stroke-width="1.4"/></svg>Open Outlook</a>
        </div>
        <div class="gn-after">
          <button type="button" data-change>Use a different email</button>
          <button type="button" data-resend disabled>Resend in 0:30</button>
        </div>
      </div>
    </div>

    <p class="gn-terms" data-row>By continuing, you agree to the <a href="#">Terms</a><br />and acknowledge the <a href="#">Privacy Policy</a>.</p>
  </section>
  <span class="gn-sr" role="status" aria-live="polite"></span>
</main>

<script>
(() => {
/* hook these up to your auth */
async function onSubmit(email) { await new Promise(r => setTimeout(r, 1200)); }
function onProvider(provider) { status.textContent = `Opening ${provider} sign-in`; }

const root = document.documentElement;
const reduce = matchMedia('(prefers-reduced-motion: reduce)').matches;
const clamp = (v, a, b) => Math.min(b, Math.max(a, v));
const easeOut = x => 1 - Math.pow(1 - x, 3);
const spring = (x, k = 7, w = 10) => x >= 1 ? 1 : 1 - Math.exp(-k * x) * Math.cos(w * x);

const tile = document.querySelector('.gn-tile');
const cells = [...tile.querySelectorAll('rect, circle')];       // ring order, centre dot last
const rows = [...document.querySelectorAll('[data-row]')];
rows.forEach(r => { r.style.opacity = 0; });
tile.style.opacity = 0;
const status = document.querySelector('.gn-sr[role="status"]');

/* ---------- form ---------- */
const form = document.querySelector('.gn-form');
const email = document.getElementById('gn-email');
const btn = form.querySelector('.gn-btn');
const roll = [...btn.querySelectorAll('.gn-roll > span')];
const live = btn.querySelector('[data-label]');
const spinEl = btn.querySelector('[data-spin]');
const sent = document.querySelector('.gn-sent');
const sentIn = sent.firstElementChild;
const toEl = sent.querySelector('[data-to]');
const resend = sent.querySelector('[data-resend]');
const LABELS = { idle: 'Email me a sign-in link', busy: 'Sending link…', sent: 'Check your inbox' };
let rollTarget = 0, rollPos = 0, sentTarget = 0, sentPos = 0, resendAt = 0, clock = 0;

function setState(s) {
  btn.dataset.state = s; rollTarget = { idle: 0, busy: 1, sent: 2 }[s];
  live.textContent = LABELS[s]; btn.disabled = s !== 'idle';
  sentTarget = s === 'sent' ? 1 : 0;
  sent.setAttribute('aria-hidden', String(s !== 'sent'));
  email.readOnly = s !== 'idle';
}
async function send() {
  setState('busy');
  try {
    await onSubmit(email.value.trim());
    toEl.textContent = email.value.trim();
    setState('sent');
    resendAt = clock + 30;
    status.textContent = `Sign-in link sent to ${email.value.trim()}`;
  } catch (e) { setState('idle'); status.textContent = 'Could not send the link. Try again.'; }
}
form.addEventListener('submit', e => {
  e.preventDefault();
  if (btn.dataset.state !== 'idle') return;
  if (!email.checkValidity()) {
    email.setCustomValidity(email.value ? 'Enter a full email address, like you@work.com' : 'Enter your email address');
    email.reportValidity(); email.setCustomValidity(''); return;
  }
  send();
});
sent.querySelector('[data-change]').addEventListener('click', () => { setState('idle'); email.focus(); email.select(); });
resend.addEventListener('click', () => { if (!resend.disabled) send(); });
document.querySelectorAll('[data-provider]').forEach(b => b.addEventListener('click', () => onProvider(b.dataset.provider)));

/* ---------- one loop for every motion ---------- */
let t0 = null, last = 0;
document.fonts.ready.then(() => { t0 = performance.now(); last = t0; root.dataset.ready = '1'; });
function frame(now) {
  requestAnimationFrame(frame);
  if (t0 === null) return;
  const dt = Math.min(0.05, (now - last) / 1000); last = now;
  const t = clock = (now - t0) / 1000;

  // tile drops in on a spring
  const d = reduce ? 1 : spring(clamp(t / 1.0, 0, 1), 6, 9);
  tile.style.opacity = reduce ? clamp(t / 0.4, 0, 1) : clamp(t / 0.25, 0, 1);
  tile.style.transform = `translateY(${((1 - d) * -46).toFixed(1)}px) rotate(${((1 - d) * 10).toFixed(2)}deg)`;
  // cells pop in around the ring, centre dot last with a bigger overshoot
  cells.forEach((c, i) => {
    const centre = i === cells.length - 1;
    const p = reduce ? 1 : clamp((t - 0.35 - i * 0.06 - (centre ? 0.12 : 0)) / (centre ? 0.8 : 0.5), 0, 1);
    const s = centre ? spring(p, 5, 12) : spring(p, 8, 10);
    c.style.transform = `scale(${s.toFixed(3)})`;
  });

  rows.forEach((r, i) => {
    if (r.dataset.done) return;
    const p = clamp((t - 0.55 - i * 0.07) / 0.6, 0, 1), e = easeOut(p);
    r.style.opacity = e;
    r.style.transform = reduce || p >= 1 ? '' : `translateY(${(1 - e) * 10}px)`;
    r.style.filter = reduce || p >= 1 ? '' : `blur(${(1 - e) * 5}px)`;
    if (p >= 1) r.dataset.done = '1';
  });

  const k = reduce ? 1 : Math.min(1, dt * 12);
  rollPos += (rollTarget - rollPos) * k;
  roll.forEach((s, i) => {
    const off = i - rollPos;
    s.style.transform = `translateY(${(off * 100).toFixed(1)}%)`;
    s.style.opacity = Math.max(0, 1 - Math.abs(off) * 1.4).toFixed(3);
  });
  spinEl.style.transform = `rotate(${(t * 430) % 360}deg)`;

  // confirmation panel opens to its natural height
  sentPos += (sentTarget - sentPos) * (reduce ? 1 : Math.min(1, dt * 9));
  sent.style.height = (sentIn.offsetHeight + 12) * sentPos > 0.5 ? ((sentIn.offsetHeight + 12) * sentPos).toFixed(1) + 'px' : '0px';
  sentIn.style.opacity = sentPos.toFixed(3);

  if (btn.dataset.state === 'sent') {
    const left = Math.max(0, Math.ceil(resendAt - t));
    resend.disabled = left > 0;
    resend.textContent = left > 0 ? `Resend in 0:${String(left).padStart(2, '0')}` : 'Resend link';
  }
}
requestAnimationFrame(frame);
})();
</script>
</body>
</html>
```


## Build instructions by tool

### Claude Code

Open a terminal in an empty folder, run `claude`, then paste the prompt.

```text
Build the "Magic link sign-in with a pixel tile" app from the OwnlyPlans blueprint at https://ownlyplans.com/bhaskar/magic-link-sign-in-with-a-pixel-tile/.
Stack: CSS, HTML, JavaScript.
Follow the plan's steps in order: Lay out the tile, providers and email field → Animate the tile and the rows → Send the link and confirm.
Download the full plan (Markdown) from the link above and keep it in the project root as PLAN.md.
Ask me before adding anything not in the plan. (Prepared for Claude Code.)
```

### Cursor

Open an empty folder in Cursor, start an Agent chat, then paste the prompt.

```text
Build the "Magic link sign-in with a pixel tile" app from the OwnlyPlans blueprint at https://ownlyplans.com/bhaskar/magic-link-sign-in-with-a-pixel-tile/.
Stack: CSS, HTML, JavaScript.
Follow the plan's steps in order: Lay out the tile, providers and email field → Animate the tile and the rows → Send the link and confirm.
Download the full plan (Markdown) from the link above and keep it in the project root as PLAN.md.
Ask me before adding anything not in the plan. (Prepared for Cursor.)
```

### Lovable

Start a new Lovable project and paste the prompt as your first message.

```text
Build the "Magic link sign-in with a pixel tile" app from the OwnlyPlans blueprint at https://ownlyplans.com/bhaskar/magic-link-sign-in-with-a-pixel-tile/.
Stack: CSS, HTML, JavaScript.
Follow the plan's steps in order: Lay out the tile, providers and email field → Animate the tile and the rows → Send the link and confirm.
Download the full plan (Markdown) from the link above and keep it in the project root as PLAN.md.
Ask me before adding anything not in the plan. (Prepared for Lovable.)
```

## Definition of done

- Every build step is complete and the app runs locally.
- The main user flow works end to end.
- Share your build on OwnlyPlans with a demo link, build time and tool.
