Skip to main content
FlowsInviting Teammates & FriendsAdding a team similar to incident.io
shadcn/ui Flows

Adding a teamsimilar toincident.io

A team-creation pattern for admin settings. "Add team" opens a side sheet over the Teams list with one required field, a name. Members come from a searchable picker that also takes an email address, so someone who is not in the workspace yet can be invited in the same move; each member then gets a role in a compact list under the picker. Rarely needed fields (external ID, aliases, escalation paths, Slack channel) sit behind an "Advanced fields" disclosure. Create adds the team to the table with its lead, member avatars and pending invites. Everything around the sheet (the settings sidebar, page header, setup banner and the teams that already exist) is a wireframe sketch where your own app goes.

Install flow

Step 1 of 6Teams

Every screen

The 6 steps in order. Pick one to open it in the preview above.

01TeamsThe Teams settings page, a wireframe sketch where your own app goes, with the "Add team" button in its header.
02Name the teamThe Add team sheet opens over the list; type the team’s name.
03Pick membersSearch people in the workspace and tick them, or type an email to invite someone new.
04Set rolesEach member appears as a row with a role select; make one of them the team lead.
05Advanced fieldsOptionally set an external ID and aliases, see how escalation paths are linked, and pick a Slack channel.
06Team createdThe new team appears in the table under the existing ones, with a New badge, its lead, member avatars and Slack channel.

Installation

Part of shadcn/ui Pro

Pro unlocks one-command install of every flow in Radix UI, Base UI and React Aria, plus all 507 blocks, the Figma kit, themes and the MCP server for your AI editor.

Part of shadcn/ui Pro

Pro unlocks one-command install of every flow in Radix UI, Base UI and React Aria, plus all 507 blocks, the Figma kit, themes and the MCP server for your AI editor.

Why this flow works

Create a team from a settings page: name it, pick members or invite them by email, give each one a role, link a Slack channel, and the new team lands in the list with its lead and members.

Only the name is required

The sheet asks for a name and nothing else, so a team can exist in seconds. Members are marked optional and the advanced fields are folded away, which keeps the common case short while leaving room for teams synced from other tools.

One picker for people and invitations

The members picker searches names and emails across the workspace. When the query is a full email that matches nobody, the first option becomes "Invite …", and choosing it adds a pending person to the team and the workspace at once. Malformed addresses get a hint instead of an option, and people already picked show a check and toggle off.

Roles set inline, with a sensible default

Picked people appear as rows with a role select (Team lead or Member) and a remove button. The first person added becomes the lead, everyone after them a member, so most teams need no extra clicks. Pending invitees are marked "Invite pending" so nobody mistakes them for active users.

The result is visible straight away

Create closes the sheet and the new team is added under the existing ones, highlighted with a New badge, its lead, an avatar stack of members and the linked Slack channel. A toast confirms how many members were added and how many invitations went out.

Step by step

  1. 01

    Teams

    The Teams settings page, a wireframe sketch where your own app goes, with the "Add team" button in its header.

    Team creation starts where admins look after teams, so the new team lands in the same table. The existing teams are sketched rows: they are your app’s data, not part of the pattern.

  2. 02

    Name the team

    The Add team sheet opens over the list; type the team’s name.

    A name is the one thing a team needs, so it is the only required field and is focused when the sheet opens.

  3. 03

    Pick membersOptional

    Search people in the workspace and tick them, or type an email to invite someone new.

    One searchable list covers both colleagues and newcomers, so adding someone who hasn’t joined yet doesn’t send the admin to another page.

  4. 04

    Set rolesOptional

    Each member appears as a row with a role select; make one of them the team lead.

    Roles decide who can edit the team and its schedules. Inline selects keep the decision next to the person, and the first member defaults to lead.

  5. 05

    Advanced fieldsOptional

    Optionally set an external ID and aliases, see how escalation paths are linked, and pick a Slack channel.

    These fields matter for teams synced from other tools and for routing, but most teams never need them, so they stay folded until asked for.

  6. 06

    Team created

    The new team appears in the table under the existing ones, with a New badge, its lead, member avatars and Slack channel.

    Showing the team in place, with its people, confirms the result without a separate success page; the toast adds how many invitations were sent.

Built with shadcn/ui and Radix UI

  • Button
  • Input
  • Field
  • Select
  • Badge
  • Avatar
  • Sonner

This is an original rebuild of the flow's structure, with its own brand, copy and artwork. incident.io is a trademark of its owner; this page is not affiliated with or endorsed by incident.io.

Frequently asked questions

Installing, adapting and theming this flow for Radix UI.