BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/gaia/author-tooltip

Author Tooltip

gaia/author-tooltip
FreeComponent

An interactive avatar with tooltip showing author information and social links.

Install it

npx shadcn@latest add https://ui.heygaia.io/r/author-tooltip.json

Source

registry/new-york/ui/author-tooltip.tsxui.heygaia.io/r/author-tooltip.json
1"use client";
2
3import type * as React from "react";
4import { FaGithub, FaLinkedin, FaTwitter } from "react-icons/fa";
5import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar";
6import {
7 Tooltip,
8 TooltipContent,
9 TooltipTrigger,
10} from "@/components/ui/tooltip";
11import { cn } from "@/lib/utils";
12
13export interface Author {
14 name: string;
15 avatar: string;
16 role: string;
17 linkedin?: string;
18 twitter?: string;
19 github?: string;
20}
21
22interface AuthorTooltipProps {
23 author: Author;
24 avatarSize?: "sm" | "md" | "lg" | "xl";
25 avatarClassName?: string;
26 /** Custom trigger element - if not provided, defaults to avatar */
27 trigger?: React.ReactNode;
28 /** Additional content to render in the tooltip */
29 children?: React.ReactNode;
30}
31
32const sizeMap = {
33 sm: "h-8 w-8",
34 md: "h-10 w-10",
35 lg: "h-12 w-12",
36 xl: "h-16 w-16",
37};
38
39export function AuthorTooltip({
40 author,
41 avatarSize = "sm",
42 avatarClassName = "cursor-help border-2 border-border",
43 trigger,
44 children,
45}: AuthorTooltipProps) {
46 const getInitials = (name: string) => {
47 return name
48 .split(" ")
49 .map((n) => n[0])
50 .join("")
51 .toUpperCase()
52 .slice(0, 2);
53 };
54
55 const defaultTrigger = (
56 <Avatar className={cn(sizeMap[avatarSize], avatarClassName)}>
57 <AvatarImage src={author.avatar} alt={author.name} />
58 <AvatarFallback>{getInitials(author.name)}</AvatarFallback>
59 </Avatar>
60 );
61
62 return (
63 <Tooltip>
64 <TooltipTrigger asChild>
65 {trigger ? <div>{trigger}</div> : defaultTrigger}
66 </TooltipTrigger>
67 <TooltipContent className="p-0 rounded-xl">
68 <div className="flex flex-col gap-2 p-3">
69 <div className="flex flex-row items-center gap-3">
70 <Avatar className="h-10 w-10">
71 <AvatarImage src={author.avatar} alt={author.name} />
72 <AvatarFallback>{getInitials(author.name)}</AvatarFallback>
73 </Avatar>
74 <div className="flex flex-col">
75 <span className="text-sm font-medium">{author.name}</span>
76 <span className="text-xs text-muted-foreground">
77 {author.role}
78 </span>
79 </div>
80 {(author.linkedin || author.twitter || author.github) && (
81 <div className="ml-4 flex gap-2.5">
82 {author.linkedin && (
83 <a
84 href={author.linkedin}
85 target="_blank"
86 rel="noopener noreferrer"
87 className="text-background hover:text-muted-foreground transition-colors"
88 >
89 <FaLinkedin className="h-5 w-5" />
90 </a>
91 )}
92 {author.twitter && (
93 <a
94// … truncated

What it pulls in

Other registry items

  • icons

Files it writes

  • registry/new-york/ui/author-tooltip.tsx

Facts

Registry
gaia
Type
registry:ui
Access
Free
Files written
1
Licence
MIT
In the index
at or before 2026-08-12
Last confirmed
yesterday

Go to the source

ui.heygaia.io theexperiencecompany/gaia-ui on GitHub Raw registry item This item as JSON

More from gaia

All 28 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Area Chartarea-chartgaiaComponentsFree1 dep
Bar Chartbar-chartgaiaComponentsFree1 dep
Chat Demochat-demogaiaComponentsFreeno deps
ComposercomposergaiaComponentsFreeno deps
Email Compose Cardemail-compose-cardgaiaComponentsFreeno deps
Gauge Chartgauge-chartgaiaComponentsFree1 dep
GitHub Stars Buttongithub-stars-buttongaiaComponentsFree1 dep
Holo Cardholo-cardgaiaComponentsFree1 dep · 2 files

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

KitGrade

SaaS starter kits, scored from measured facts

kitgrade.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and KitGrade

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and KitGrade

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and KitGrade

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex