fetaUI
GitHub

Member Row

One member: avatar, name and email, last activity, a role Select and a menu. Pending adds Invited and Resend, and Deactivated locks the role.

FreeWeb and MobileMotion

Preview

npx shadcn add @fetaui/member-row
Playground
Olivia Bennettolivia@halcyon.example
Active 4m ago
Admin
Active
Olivia Bennettolivia@halcyon.example
Active 4m ago
Admin
Hover
Olivia Bennettolivia@halcyon.example
Active 4m ago
Admin
Pending
jonas@halcyon.exampleInvitedInvited 2 days ago by Ava
Expires in 5 days
Member
Deactivated
Liam CarterDeactivatedliam@halcyon.example
Last seen Sep 2
Member
Icons animation
Motion

Installation

Terminal· bash
 npx shadcn add @fetaui/member-row

Accessibility

  • Controls are named after the person.
  • Pending and Deactivated are words on a Badge, never colour alone.
  • A deactivated role is plain text, so it cannot be focused.

Motion

  • The row fades in over 240 ms, 40 ms after the one before.
  • Hover washes 4% over 120 ms.
  • With reduced motion, the row appears at once.

Responsive behavior

  • Below 480 wide, it keeps the avatar, name, role text and menu.

Performance

  • One motion wrapper fades the row in once. Pass index for the 40 ms stagger.

Note for AI

Give your coding assistant the Markdown reference instead of screenshots.

  • Import MemberRow from @/components/fetaui/member-row. It composes Select, Dropdown Menu, Button and Icon Button with Avatar and Tag from product-kit.
  • role is controlled, so pass onRoleChange. Roles can be strings or Select options.
  • Pending shows name or email plus note in place of the email, so always pass note. Deactivated renders the role as text.
  • menu is yours and starts empty. hovered forces the hover pose for previews.

Related