Tooltip with avatar and role badge
For AI Agents
Hand your agent this brief or the ReUI MCP, not a screenshot. Free to install.
Best for: An avatar trigger that opens the same photo with the person's name, an Admin role badge and an email address
When to use
- Short labels for buttons and icon only toolbar actions, with a keyboard shortcut where one exists
- Help text on an info icon, a warning, a verified mark, a locked feature or a disabled button
- Compact summaries behind a trigger, such as service status, notifications, file details or a person
When not to use
- A fuller profile preview with a large photo, handle and join date: use the Hover Card component
- Content with links or buttons that keyboard users must be able to reach: use the Popover component
- A status or count that stays readable without pointing at anything: use the Badge component
Agent notes
AvatarFallbackreads SC for Emma Wilson in both places; derive the initials from the user's name- The photo URL and alt text repeat in both
AvatarImageelements; read them and the email from one user record - Outside a
TooltipProviderthe baseTooltipopens after 600ms and inside one at once; the radixTooltipthrows without one TooltipTriggerrenders abuttonof its own, so aButtonnested in it withoutrenderor radixasChildmakes a button in a buttonTooltipContentis portaled to the end of the body with no focus guards, so a link or button in it is not next in Tab order after its trigger
https://reui.io/components/tooltip/c-tooltip-11.mdget_example("c-tooltip-11")npx shadcn@latest add @reui/c-tooltip-11About Shadcn Tooltip Avatar Role Badge
Tooltip with avatar and role badge. Built by composing Avatar, Badge, Tooltip. A free, open source shadcn tooltip example you can install with npx shadcn@latest add @reui/c-tooltip-11 and edit as your own code.
What You Can Build With Shadcn Tooltip Avatar Role Badge
- Composes Avatar, Badge, Tooltip, so it drops into any project already using those components.
- Install it with the shadcn CLI: npx shadcn@latest add @reui/c-tooltip-11
- Open source and free, with the full source on this page to copy or adapt.
More Shadcn Tooltip Examples
- Basic Basic tooltip.
- Placements Tooltips opening from different sides.
- Icon Trigger Tooltip with icon trigger.
- Keyboard Shortcut Tooltip with keyboard shortcut.
- Bell With Count Tooltip on notification bell with badge count
- Status Badges Tooltip with status badge
- Verified Domain Tooltip with icon and description
- Toolbar Actions Toolbar with tooltip actions
- Warning Tooltip with warning badge
- Upgrade Prompt Tooltip with feature badge and upgrade link
- Disabled Button Tooltip on disabled button with wrapper
- Online Status Tooltip with online status indicator
Related Shadcn Component Categories
Open-source shadcn tree components for file explorers, nested navigation, and hierarchical data.
Open-source shadcn accordion components for FAQ layouts, settings panels, and help sections.
Open-source shadcn alert components for status messages, warning banners, and destructive notices.
Open-source shadcn alert dialog components for delete confirmations, destructive actions, and critical decisions.
Open-source shadcn aspect ratio components for responsive media, image galleries, and video previews.
Open-source shadcn attachment components for chat composers, upload states, and file previews.
Frequently Asked Questions
When should I use Shadcn Tooltip Avatar Role Badge?
Use it for an avatar trigger that opens the same photo with the person's name, an Admin role badge and an email address.
Shadcn Tooltip as a whole fits:
- Short labels for buttons and icon only toolbar actions, with a keyboard shortcut where one exists
- Help text on an info icon, a warning, a verified mark, a locked feature or a disabled button
- Compact summaries behind a trigger, such as service status, notifications, file details or a person
For a fuller profile preview with a large photo, handle and join date, use the Hover Card component. For content with links or buttons that keyboard users must be able to reach, use the Popover component. For a status or count that stays readable without pointing at anything, use the Badge component.
How do I install Shadcn Tooltip Avatar Role Badge?
Is Shadcn Tooltip Avatar Role Badge free to use?
Which components does Shadcn Tooltip Avatar Role Badge use?
Start building with ReUI Pro today.
Every Pro block, every style, and every future addition, with one license for unlimited projects.
From $249, once. Lifetime updates.