Admin User Row

User management row with avatar, online status dot, name, email, a role chip for admin, write or read access, and an accessible actions menu button.

src/registry/ui/admin-user-row.tsx/r/admin-user-row.json

Installation#

bash
npx shadcn@latest add @minidev/admin-user-row

MiniDev UI is in the shadcn registry directory, so the short form works with no setup. Older CLI versions can use the full URL: npx shadcn@latest add https://ui.minidev.pro/r/admin-user-row.json

Usage#

tsx
import { AdminUserRow } from "@/components/ui/admin-user-row"

export function Example() {
  return <AdminUserRow />
}

API reference#

AdminUserRow props
PropTypeDefault
namestring"Maya Chen"
emailstring"maya.chen@northwind.com"
role"admin" | "write" | "read""read"
onlineboolean-
classNamestring-

Dependencies#

All settings page components