IN-03Inputs
Team Selector
Seat picker with a scrubbable number, generated avatars and an optional rolling price line.
PROInviting your team? Team Invite Card is in Kokonut UI Pro
Installation
Team Selector is a free, open-source React component in the Kokonut UI Inputs collection. Add it with the shadcn CLI, which copies the source into components/kokonutui/team-selector.tsx, so the code is yours to change.
npx shadcn@latest add @kokonutui/team-selectorOr add it by hand: install its packages, then copy the source from Copy code above into components/kokonutui/team-selector.tsx.
npm install motion lucide-reactUsage
import TeamSelector from "@/components/kokonutui/team-selector";
export default function Example() {
return <TeamSelector pricePerSeat={12} />;
}Props
membersTeamMember[]Default built-inKnown people. Seats beyond this list show as open, numbered slots.
defaultValuenumberDefault 3valuenumberControlled seat count. Pair it with onChange.
minnumberDefault 1Smallest allowed seat count. Defaults to 1.
maxnumberDefault 12Largest allowed seat count, independent of members. Defaults to 12.
onChange(size: number) => voidlabelstringDefault "Team size"pricePerSeatnumberWhen set, shows the per-seat price and the monthly total.
currencystringDefault "USD"ISO 4217 code for the price line. Defaults to "USD".
classNamestringExtra classes for the root element.
TeamMember
idrequiredstringnamerequiredstringavatarUrlstringOptional photo. Without it the avatar shows the member's initials.
Dependencies
| Needs | Version | Comes from |
|---|---|---|
motion | ^12.23.25 | npm, installed by the CLI |
lucide-react | ^0.556.0 | npm, installed by the CLI |
cn from lib/utils.ts | shadcn init | |
| React | 19 | Your app |
| Tailwind CSS | 4 | Your app |
No provider, font or global CSS to set up: the file works as soon as it lands.

