Skip to content
Overlays & Tooltips

Author Tooltip

Server Component

Hover an avatar to see name, role, and profile links.

Import

tsx
import { AuthorTooltip } from "@cronus-ui/ui";
bash
npx cronus-ui add author-tooltip

Examples

.cronus

No audit fixture declares this family in .cronus yet.

React onlyParity: Not portedParity scoreboard

API Reference

Generated from the component's exported types.

AuthorTooltipLabels

Skip AuthorTooltipLabels props table
PropTypeDefaultDescription
github*
string
twitter*
string
linkedin*
string

AuthorTooltipProps

Extends VariantProps<typeof authorTooltipAvatarVariants>

Skip AuthorTooltipProps props table
PropTypeDefaultDescription
author*
Author
avatarSize
"sm" | "md" | "lg" | "xl"
avatarClassName
string
trigger
ReactNode
children
ReactNodeContents of the component.
labels
Partial<AuthorTooltipLabels>Override default English strings.
size
"sm" | "md" | "lg" | "xl""sm"One of "sm" | "md" | "lg" | "xl".
asChild
booleanRender as the child element via Slot.
className
stringAdditional class names merged onto the root.