Back to components
Invite Email Field React component

What is this?

A white pill with an email field and a black Invite button. A valid address turns the button green, draws a check, and swaps Invite for “Sent” before it eases back. An invalid address gives the pill a small shake. Nothing is sent: onInvite hands you the address. Swap the placeholder and labels, then drop it into a team settings page or an empty members list.

Component

Invite Email Field

A white pill with an email field and a black Invite button. A valid address turns the button green, draws a check, and swaps Invite for “Sent” before it eases back. An invalid address gives the pill a small shake. Nothing is sent: onInvite hands you the address. Swap the placeholder and labels, then drop it into a team settings page or an empty members list.

Checking access…
Live Preview

Verified Technical Spec

Animation
CSS / Tailwind
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
  • Finished React · TypeScript · Tailwind CSS · Lucide UI

Dependencies

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

Tech Stack

  • React
  • TypeScript
  • Tailwind CSS
  • Lucide

Version 1.0.0