Back to components
Email Compose Sheet React component

What is this?

A white compose sheet: a To field with removable recipient chips that you add with Enter, a subject, a body, an attachment chip for q4-plan.pdf, and Send. Sending shrinks the whole sheet into a small pill in the bottom-right corner that reads “Message sent · Undo”. Undo expands it back with everything intact; otherwise the pill leaves after five seconds. Swap the recipients, subject, and body, then drop it into a mail client, a support reply box, or an internal messaging tool.

Component

Email Compose Sheet

A white compose sheet: a To field with removable recipient chips that you add with Enter, a subject, a body, an attachment chip for q4-plan.pdf, and Send. Sending shrinks the whole sheet into a small pill in the bottom-right corner that reads “Message sent · Undo”. Undo expands it back with everything intact; otherwise the pill leaves after five seconds. Swap the recipients, subject, and body, then drop it into a mail client, a support reply box, or an internal messaging tool.

Checking access…
Live Preview

Verified 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 · Lucide UI

Dependencies

  • React 19.0.0
  • Typescript 5.7.2
  • Tailwindcss 3.4.16
  • Lucide-react 1.23.0
  • Motion 12.42.2

Tech Stack

  • React
  • TypeScript
  • Tailwind CSS
  • Motion
  • Lucide

Version 1.0.0