Back to blocks

What is this?
An email sign-in with a halftone hillside on the right. Color follows the cursor across the hillside. After send, both sides blur and a centered card shows Check your inbox with a resend countdown. The send is a demo.
magic-link-sign-in.tsx
"use client"; import { useEffect, useId, useRef, useState, type FormEvent, type PointerEvent } from "react";import { useReducedMotion } from "motion/react";import { cn } from "@/lib/utils"; export type MagicLinkSignInProps = { /** デモ用。呼ばれても通信はしない。 */Read the guide
BlockPass
Magic Link Sign-in
An email sign-in with a halftone hillside on the right. Color follows the cursor across the hillside. After send, both sides blur and a centered card shows Check your inbox with a resend countdown. The send is a demo.
Checking access…
Live PreviewVerified Technical Spec
- Animation
- Framer Motion
- Reduced motion
- Verified
- Keyboard focus
- Verified
- Compatibility
- Tailwind CSS v3.4 + v4 · React 19 / Next.js 15 App Router + Vite / Remix compatible
Included
- Copy source into Cursor or Claude for agent install
- Responsive on phone, tablet, and desktop
- Finished React · TypeScript · Tailwind CSS · Motion UI
Dependencies
- React 19.0.0
- Typescript 5.7.2
- Tailwindcss 3.4.16
- Motion 12.42.2
Tech Stack
- React
- TypeScript
- Tailwind CSS
- Motion
Version 1.0.0





