Skip to Content

Member Sheet

Member management sheet: a side panel with a list of removable member rows with optional avatars, an add-by-name form and an empty state, announcing each addition and removal in a live status line.

Installation

pnpm dlx shadcn@latest add @01orbital/member-sheet

Usage

import { MemberSheet } from "@/components/team/member-sheet"

Needs props to render

Pass createMember, labels; see the API reference below.

API reference

A button that opens a side sheet of members: removable rows with optional avatars, a field that adds a member by name, an empty state, and a status line announcing each change. Pass members and onMembersChange to own the list, or defaultMembers to let the sheet keep it. Other props go to the Sheet.

Prop

Type

It also accepts the props of the Base UI part it wraps.

Dependencies

npm: @phosphor-icons/react. The CLI installs it for you.

Requires these pieces. The CLI adds each one that is missing and won't replace a file you already have unless you choose to:

The shadcn parts here are their Base UI versions, and this piece uses Base UI's API. A Radix version you already have won't work with it.

Used in blocks

2 blocks are built with Member Sheet:

Last updated on