Back to components
ComponentAI & ChatFree

AI Mail Composer React component

A Dynamic Island-inspired email composer with tone selection, async draft generation, editable subject and body, and send states.

About the AI Mail Composer component

A Dynamic Island-inspired email composer with tone selection, async draft generation, editable subject and body, and send states.

When to use it

Turn a short writing brief into an editable email draft.

Keep AI drafting and explicit email sending in one compact panel.

Installation

Add the AI Mail Composer component to your project with the shadcn CLI. It lands in components/ai-mail-composer.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/ai-mail-composer

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install motion lucide-react clsx tailwind-merge

More AI & Chat components

Token Budget Bar
Free
Hover Reply Toolbar
Free
Reasoning Indicator
Free
Next Best Action Card
Free
Neural Pulse Loader
Free
Knowledge Source Map
Free