User Detail

A Tailwind user detail header with a back link to users, an avatar beside the name in the title, a role and email line, and a team member row with role.

src/registry/blocks/user-detail.tsx/r/user-detail.json

Installation#

bash
npx shadcn@latest add @minidev/user-detail

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/user-detail.json

Usage#

tsx
import { UserDetail } from "@/components/ui/user-detail"

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

API reference#

UserDetail takes no props. It ships with realistic sample content: install it, then edit the copy and data in the file directly. The file is yours.

Dependencies#

All dashboard components