043
Find people and teams in one grouped list, see what you typed highlighted in each match, add as many as you like as springy avatar chips, or create someone new right there.
akacombobox·multi select·avatars
Run this in any project set up for the shadcn CLI. It copies the People Picker source into your components folder, so the code is yours to change.
npx shadcn@latest add https://devl.dev/r/people-picker.jsonImport it and render it. Every prop has a typed default, so it works straight away, and you pass your own data when you’re ready.
import { PeoplePicker } from "@/components/people-picker";
export default function Page() {
return <PeoplePicker />;
}A free React component in the Forms collection, written in TypeScript with Tailwind CSS on coss ui. MIT licensed.
Read from the People Picker source. Everything is optional unless it says required.
| Prop | Type | Default |
|---|---|---|
| optionsrequired | PickerOption[] | — |
| defaultValue | PickerOption[] | [] |
| value | PickerOption[] | — |
| onValueChange | (value: PickerOption[]) => void | — |
| multiple | boolean | true |
| createGroup | string | false | "New" |
| placeholder | string | "Search people or teams…" |
| label | ReactNode | — |
| className | string | — |