Avatar — Tooltip
- from @astryx
- by Astryx
By default an avatar shows its name in a tooltip on hover and keyboard focus. Pass a string to show custom text instead, or false to turn the tooltip off. Astryx replaced 4 demo media references with marked placeholders; put your own content there.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @astryx/example-avatar-tooltipRegistry dependencies0
The CLI adds no other registry items with this one.
