Who an email goes to, a chip per person.
Every shadcn style · one file
v2.0 · Updated Oct 13pnpm dlx shadcn@latest add https://notchset.dev/r/recipient-field.jsonpnpm dlx shadcn@latest add https://notchset.dev/r/recipient-field.jsonFree, no account or key. One command for every shadcn style. With the @notchset registry added, @notchset/<name> works too.
Works with React 18.3 or 19 on Tailwind CSS v4, in any shadcn project. What's tested
pnpm add @base-ui/react@^1 lucide-react@^1The CLI adds the styles to the CSS file named in components.json (tailwind.css). Check that it points at your global stylesheet, that the project uses Tailwind CSS v4, and that the file is imported in your root layout. Installed by hand: paste styles.css into that file.
Import it and pass your content. The props that matter most are listed next.
"use client";
import * as React from "react";
import { RecipientField, type Recipient } from "@/components/ui/notchset/recipient-field";
const PEOPLE: Recipient[] = [
{ id: "ana", name: "Ana Ruiz", email: "ana@airtable.com" },
{ id: "kevin", name: "Kevin Ito", email: "kevin@airtable.com" },
{ id: "priya", name: "Priya Shah", email: "priya@sentry.io" },
{ id: "marcus", name: "Marcus Bell", email: "marcus@calendly.com" },
{ id: "lena", name: "Lena Ortiz", email: "lena@framer.com" },
];
export default function RecipientFieldDemo() {
const [to, setTo] = React.useState<Recipient[]>([PEOPLE[0]!, PEOPLE[1]!]);
return (
<label className="flex w-full max-w-[560px] flex-col gap-1.5 text-[length:var(--ns-text-small)] text-[var(--ns-ink-2)]">
<span>
To <span className="text-[var(--ns-ink-3)]">· {to.length}</span>
</span>
<RecipientField aria-label="To" people={PEOPLE} value={to} onValueChange={setTo} />
</label>
);
}components/ui/notchset/recipient-field.tsx
people–
Recipient[]Required.
value–
Recipient[]Required.
onValueChange–
(value: Recipient[]) => voidRequired.
elsewhere–
Recipient[]Addresses already in the envelope's other fields (Cc, Bcc): typing one exactly adds nothing, never moves it.
aria-label–
stringplaceholder"Add a name or address"
stringGive your coding assistant the Markdown guide instead of screenshots.
https://notchset.dev/api/mcp (setup)v2.0.0 · 2026-10-13
Released with the Notchset system.
The same file, at work in a finished app. Open it live and find it on its pages.
Inbox and email. Threads, messages, replies and the activity around a record, in one place.
2 free · 5 ProSee the Inbox and email kit