Member list
Lists the people who have access to something shared and the invitations still open, each with a role that can be changed and a way to take the access away.
Examples
Anyone at Harbour Capital with the link can view the watchlist.
Usage
Use it when
- The people and open invitations of something shared, such as a watchlist or a workspace, each with a role that can change.
- A share dialog, under an
InviteFieldand above theShareLink.
Use something else when
- People shown without access to manage, such as a fund's team. Use Item instead, inside an ItemGroup.
- Hundreds of members to sort, filter and act on in bulk. Use DataTable instead.
- A few faces that say who is in something. Use Avatar instead, at most 5 in an
AvatarGroupwith anAvatarGroupCountfor the rest, such as "+6", asrule/avatar-group-maxsays.
Rules
General
Content
Avoid
Limits
Install
npx shadcn@latest add https://kaanarici.com/r/cobalt/member-list.jsonimport { MemberList, memberListLabels, MemberRow, ShareLink, shareLinkLabels, type Member } from "@/components/cobalt/ui/member-list"