CommentAuthorAvatar
Renders a comment author’s identity glyph: a person avatar for user authors, an icon chip for agent authors. Wrapped in a hover card naming the author unless bare.
Import
Section titled “Import”import { CommentAuthorAvatar } from "@flanksource/clicky-ui/comments";No dedicated Storybook demo is available for this component yet.
The props table documents the component-specific surface. Standard DOM attributes inherited from React, such as className, event handlers, and accessibility attributes, may also be accepted when the component’s prop type extends a native element.
| Prop | Type | Default | Description |
|---|---|---|---|
author* |
CommentAuthor | null |
— | Author to render; null renders an anonymous user. |
bare |
boolean |
false |
Render only the glyph (no hover card). |
size |
enum |
sm |
Avatar size token. |