Components › Blocks

Profile card

A person at a glance: avatar and status, role, labelled details and contact actions.

Installation

npx plankui@latest add profile-card

Usage

import { ProfileCard } from "@/components/ui/profile-card";

<ProfileCard name="Lena Müller" role="Marketing manager" details={[{ label: "Location", value: "Berlin" }]} onView={open} />

API reference

PropTypeDefaultDescription
name / rolestringWho they are.
src / statusstring, "online" | "away" | "offline"Photo and presence. Initials show without a photo.
details{ label: string; value: ReactNode }[][]Labelled facts, as a description list.
onContact / onView() => voidShow the add-contact and view-profile actions.

View the source on GitHub