WingoUI
Buttons & Actions
ButtonButton GroupCopy ButtonDelete ButtonTheme ToggleToggleToggle Group
Inputs
Avatar UploadCalendarCheckboxColor PickerComboboxCron PickerCurrency InputDate PickerDate Range PickerDate Time PickerDuration PickerFile UploadFilter BuilderInputInput GroupListboxMasked InputMention InputMonth PickerMulti SelectNumber InputOTP InputPassword InputPhone InputRadio GroupRatingSearch InputSegmented ControlSelectSignature PadSliderSwitchTag InputTextareaTime Picker
Forms
Address InputCSV ImportFieldForm WizardInline EditInvoice line itemsRich Text Editor
Navigation
Back To TopBounce SidebarBreadcrumbCommand MenuGlobal SearchGooey NavHook SidebarNav MenuNav TabsPaginationProximity SidebarScroll ProgressSidebarStepsTable Of ContentsTabsTopbarUser MenuWorkspace Switcher
Overlays
Alert DialogContext MenuDialogDrawerDropdown MenuFamily DrawerHover CardPopoverSheetShortcuts DialogTooltipTour
Feedback
AlertBannerCookie ConsentEmoji ReactionEmpty StateNotification BellNotification CenterProgressRoute ProgressSkeletonSpinnerToast
Data Display
Approval FlowAvatarBadgeCalendar ViewCode BlockComment ThreadContact cardCountdownDescription ListDiff ViewerFile ListFile managerFolderGanttJSON ViewerKbdLog ViewerMarkdownPresenceSchedulerTagTimelineTree View
Tables & Lists
Audit LogData TableDeal PipelineEditable GridKanbanListMembers tablePermissions MatrixTableTask ListVirtual List
Charts & Stats
Animated CounterArea chartBar chartDonut chartFunnel chartGaugeGitHub ActivityHeatmap calendarLeaderboardLine chartRadial barSparklineStat CardTrackerTrend badge
Layout
AccordionApp ShellCardCollapsibleDetail LayoutEntity HeaderPage HeaderScroll AreaSeparatorSettings LayoutSplit ViewToolbar
Media
Audio PlayerCarouselImage CropperImage LightboxLocation MapQR CodeStep PlayerVideo Player
AI Kit
Agent Status CardChat MessageChat ThreadConversation ListFluid OrbGrid RevealMatrix OrbModel PickerPrompt InputReasoning IndicatorRule BuilderSuggestion ChipsTool Call TimelineUsage MeterVoice InputWorkflow Canvas
Text & Effects
Gravity Letters
Mobile
Action SheetBottom Tab BarFABHaptic ButtonHero HeaderInstall PromptLarge Title HeaderNotification BannerOnboarding CarouselPicker WheelPull To RefreshSlide To ConfirmSticky CTA BarSwipe DeckSwipeable Tabs
Commerce
Cart drawerCategory pickerCheckout stepsCoupon inputFavorite buttonFilter panelListing cardListing gridOrder trackerPricePrice rangePricing tableProduct galleryQuantity stepperReviewsSeller card
Blocks
Admin Dashboard PageAdmin ShellAI Chat PageAutomation Builder PageCheckout PageCRM Contact PageCRM Pipeline PageError PagesInbox PageInvoice PageKPI DashboardListing Detail PageLogin PageMarketplace Home PageMarketplace Search PageMarketplace ShellMobile App HomeOnboarding FlowPost Listing WizardPricing PageRegister PageSettings PageUsers Admin Page
Hooks & Utilities
AI ChatChart kitCommerceDate utilsFile exportFile typesFiltersForm validationHapticsInvoicingMotion presetsNavigationNumber formatRelative timeRomanian locationsSpreadsheetText matchTonesUIProvideruseClipboarduseConsentuseControllableStateuseCooldownuseDebounceuseKeyboardInsetuseLocaleuseLongPressuseMediaControlsuseMediaQueryuseOverflowItemsusePersistedStateuseScrollEdgesuseScrollStateuseSelectionuseShortcutuseStickToBottom
GalleryThemeCredits

Tables & Lists

Members table

Tables & ListsMembers table
ListPermissions Matrix
Live props
Behavior
confirmRemove
defaultInviteRole
searchable
responsive
locale
State
canManage
defaultTab
defaultInviteOpen
loading
skeletonCount5
Layout
showInvites
showStatus
showTwoFactor
showLastActive
Appearance
timeFormat
density
variant
tone
color
Code
import { MembersTable } from "@/components/ui/members-table"

<MembersTable />
Pro

v1.0.0·Added in 1.0.0

The team page of a B2B app: members with a role select per row, status, activity and 2FA, pending invitations, seats and an invite dialog.

Switch between Members and Invitations with the tabs (arrow keys move between them) and type in the search to filter by name or email, with the matches highlighted and the result count announced. Click the Member, Role or Last active header to sort (a third click clears it). Pick a new role right in the row: it applies at once with a spinner in the picker and, if the request fails, rolls back with an alert icon and a red outline that stay until the picker is opened again. Your own role and the owner's are locked (hover or focus them for the reason; on a phone your own card says it). The ⋯ menu per row fades in on hover or focus and is always visible on touch; Remove from team asks first, the row slides out once it is done and focus moves to the next row. On the Invitations tab each row can be resent or revoked, and expired ones say so. Invite members opens a dialog focused on the address field: press Enter, comma or space after each address, or paste a whole list ("Ana Pop <ana@firma.ro>; ..."), and addresses that are invalid, already members or already invited are listed under Not added with the reason. Cmd+Enter or Ctrl+Enter sends from the address field or the message; more addresses than free seats keeps Send disabled and explains why, and the new invitations slide into the Invitations tab. Below 768px of its own width (a phone, a narrow settings column) every row is a card with a full-width role picker, two cards to a row from 672px, and the invite button turns into an icon; on a phone the menus, pickers and the dialog become bottom sheets.

Add to a project

npx wingo-ui@latest add members-table

Pro item: the CLI needs a Pro account. See plans

Dependencies

motionlucide-reactalert-dialogavatarbadgebuttondialogdropdown-menuempty-stateprogresssearch-inputselecttabletabstag-inputtextareatooltipuse-controllable-stateuse-localemotionnumber-formatrelative-timetext-matchtonesui-config

Files

  • components/ui/members-table.tsx

See also

TableTag InputDialogAvatarSelectPermissions MatrixSettings Layout
PreviousListNext Permissions Matrix

8 of 12 seats1 reserved

Team members
Status2FAMore actions
Daniel Reed

daniel.reed@northwind.app · Sales manager

Active25 min. agoOn
Emma CarterYou

emma.carter@northwind.app · Operations

Admin
ActivenowOn
Grace Kim

grace.kim@northwind.app · Marketing

Active4 days agoOff
James Miller

james.miller@northwind.app · Logistics

Suspended1 wk. agoOn
Lucas Bennett

lucas.bennett@northwind.app · CEO

Owner
Active2 hr. agoOn
Olivia Brooks

olivia.brooks@northwind.app · Customer support

Active12 min. agoOn
Ryan Cooper

ryan.cooper@northwind.app · Account executive

ActiveyesterdayOn
Sophia Lee

sophia.lee@northwind.app · Accounting

Active3 hr. agoOn
  • Daniel Reed

    daniel.reed@northwind.app · Sales manager

    Status
    Active
    Last active
    25 min. ago
    2FA
    On
  • Emma CarterYou

    emma.carter@northwind.app · Operations

    Admin

    You can't change your own role

    Status
    Active
    Last active
    now
    2FA
    On
  • Grace Kim

    grace.kim@northwind.app · Marketing

    Status
    Active
    Last active
    4 days ago
    2FA
    Off
  • James Miller

    james.miller@northwind.app · Logistics

    Status
    Suspended
    Last active
    1 wk. ago
    2FA
    On
  • Lucas Bennett

    lucas.bennett@northwind.app · CEO

    Owner
    Status
    Active
    Last active
    2 hr. ago
    2FA
    On
  • Olivia Brooks

    olivia.brooks@northwind.app · Customer support

    Status
    Active
    Last active
    12 min. ago
    2FA
    On
  • Ryan Cooper

    ryan.cooper@northwind.app · Account executive

    Status
    Active
    Last active
    yesterday
    2FA
    On
  • Sophia Lee

    sophia.lee@northwind.app · Accounting

    Status
    Active
    Last active
    3 hr. ago
    2FA
    On

Change Grace Kim's role to see a failed request roll back; the second try works.

confirmRemove: true · responsive: true · defaultInviteRole: "" · locale: "en-US"