Profile Card
A creator profile card (ProfileCard) with pointer-reactive aurora cover, verified seal, and counting stats, paired with a morphing AccountMenu variant.
About Profile Card
What it is. ProfileCard renders a creator/member card with a pointer-reactive aurora cover, online active dot, verified badge, expandable skills, and Follow CTA, while AccountMenu provides an expandable account pill with status picker, workspace switcher, storage meter, and two-step sign out.
How it is built. Two focused components (ProfileCardBlock and AccountMenuBlock) bundled in the profile-card registry item, animated with plain CSS and the Web Animations API (no animation library) and installed together with the library's Button.
When to use it. Use ProfileCard for creator bios, team directories, and hover/modal user cards; use AccountMenu in app headers and sidebars. For full-screen user profiles, see Profile Page.
For AI agents
Hand your agent this brief or the Markdown page, not a screenshot.
When to use
- Compact creator/team cards (
ProfileCard) or interactive workspace account menus (AccountMenu)
When not to use
- Full-page bento profile layouts — use Profile Page
Agent notes
- Named exports:
ProfileCard(ProfileCardBlock.tsx) andAccountMenu(AccountMenuBlock.tsx) via theprofile-cardregistry item - Toggle
showModalandshowStorageonAccountMenuto control initial expansion and storage meter visibility AccountMenualso takesavatar,defaultWorkspace,onStatusChange,onWorkspaceChange,onUpgrade,onProfile,onSettings,onShortcuts,onNewWorkspace,onSignOutandclassName; aworkspacesitem is{ id, name, plan, color? }ProfileCardvariantonly sets adata-variantattribute;statsitems are{ label, value, decimals?, compact? }and only the first three render- Both components are
forwardRefto their rootdivand keep follow, save and status state internally
For AI agents2 variants. Ask the user which one.
Ask before you pick. This page has 2 variants. If the user has not named one and has not asked you to choose for them, ask which they want before you install anything or write code, and show every option with its live link. If they ask you to choose, pick from each variant's best-for and avoid-if lines against their brief, and say why. If the user named a variant, use it and do not ask.
All 2 options as live previews: https://avaraui.com/view/profile-card
When to use it. Two profile card components: a creator profile card with a pastel aurora cover and Follow button, or a morphing account menu with status picker and workspace switcher.
Gotchas
- Control the creator card's verified seal and online dot via `verified` and `active` props.
- Control the account menu's initial open state and storage meter via `showModal` and `showStorage` props.
The 2 variants
Aurora Profile Card aurora
Creator profile card with pointer-reactive aurora cover, expandable skills, counting stats, and Follow button.
- Best for: creator, team member, or author profile cards
- Avoid if: you need an account switcher menu
- Traits: aurora cover, expandable skills, counting stats, Follow button
- Install:
npx shadcn@latest add @avara-ui/profile-card - Docs section
Account Menu account-menu
Morphing account pill and card with status picker, quick tiles, workspace switcher, and two-step sign out.
- Best for: user account menus, workspace switchers, and status pickers
- Avoid if: you want a public creator bio card
- Traits: morphing pill, status picker, workspace switcher, two-step sign out
- Install:
npx shadcn@latest add @avara-ui/profile-card - Docs section
- Markdown
- /docs-md/nextjs-profile-card.md
- Install
npx shadcn@latest add https://avaraui.com/r/profile-card.json- Registry name
@avara-ui/profile-card, through the shadcn MCP server- Index
- llms.txt lists every page, or add the agent skill once
Props Reference
ProfileCard
| Prop | Type | Default | Description |
|---|---|---|---|
variant | "aurora" | "account-menu" | "aurora" | Only sets a data-variant attribute on the card; it does not change what renders. Use AccountMenu for the account menu. |
name | string | "Nadia Karim" | Creator display name. |
role | string | "Product & motion engineer" | Role or title shown beneath the name. |
location | string | null | "United States" | City or place shown with an animated pin icon. Pass null to hide. |
bio | string | "Building expressive interfaces..." | Short bio paragraph. |
avatar | string | Cloudinary portrait | Avatar portrait image URL. |
verified | boolean | true | Displays the scalloped blue verified seal beside the name. |
active | boolean | true | Displays the pulsing green online dot on the avatar. |
status | string | null | "Available" | Status pill shown on the top-right of the cover. Pass null to hide. |
skills | string[] | 6 skills | Skill chips; the first 3 are shown and the rest expand via the +n chip. |
stats | ProfileStat[] | Followers, Projects, Rating | Three animated stat tiles. The first tile ticks up/down on Follow. |
cover | [string, string, string] | ["#a5f3fc", "#c4b5fd", "#fbcfe8"] | Three pastel colours for the pointer-reactive aurora cover. |
defaultFollowing | boolean | false | Initial Following state. |
onFollowChange | (following: boolean) => void | undefined | Callback fired when the Follow button is clicked. |
onMessage | () => void | undefined | Callback fired when the Message icon button is clicked. |
onSaveChange | (saved: boolean) => void | undefined | Callback fired when the Save bookmark button is toggled. |
className | string | undefined | Additional CSS classes for the card container. |
AccountMenu
| Prop | Type | Default | Description |
|---|---|---|---|
showModal | boolean | true | Controls whether the expanded account menu card starts open or collapsed as a pill. |
showStorage | boolean | false | Controls whether the animated storage meter is displayed. |
name | string | "John Doe" | User display name. |
handle | string | "@johndoe" | Handle shown beside the rolling status line. |
defaultStatus | "online" | "focus" | "away" | "hidden" | "online" | Initial presence status. |
workspaces | AccountWorkspace[] | 2 workspaces | List of workspaces to switch between. |
storage | [number, number] | null | [6.4, 10] | Used and total storage in GB (shown when showStorage is true). |
Works with other components
- Embed
AccountMenuinside Navbar or Sidebar headers, or pairProfileCardwith Social Links.
How do I show the storage usage meter inside AccountMenu?
Pass showStorage={true} to AccountMenu. The meter renders only while storage is not null, and storage={[usedGb, totalGb]} sets the numbers, with [6.4, 10] as the default. The bar fill is used divided by total, capped at full.
How do I listen for Follow, Message and Save clicks on ProfileCard?
Use onFollowChange(following), onMessage() and onSaveChange(saved). Follow and save state live inside the card, and defaultFollowing only sets the starting value. The first stat tile, treated as followers, counts one up or down relative to that starting state when Follow is toggled.
How do I change the ProfileCard stats, skills and cover colors?
Pass stats as { label, value, decimals?, compact? } objects. Only the first three render, and compact shortens thousands to 12.4k. skills shows the first three chips with a +n chip for the rest, and cover takes three colors for the aurora.
Does the ProfileCard variant prop change its design?
No. variant accepts "aurora" or "account-menu" but only writes a data-variant attribute on the card, so both values render the same aurora card. For the expandable account pill, use the separate AccountMenu export from AccountMenuBlock, which ProfileCardBlock also re-exports.
How do I start AccountMenu collapsed as a pill?
Set showModal={false}. The menu then renders as a pill that expands on click, and Escape or the Collapse button folds it back. Changing showModal later reopens or closes it. Sign out takes two clicks: the first asks, and a second within about 2.6 seconds fires onSignOut.
What does the profile-card install add, and does it need Next.js?
It installs ProfileCardBlock, AccountMenuBlock and the library Button, plus the npm package motion. There are no next/* imports and the avatar is a plain img, so it works in Vite. Animations switch off for prefers-reduced-motion through useReducedMotion.