Installation
Usage
Display author information with an interactive avatar and social links.Features
Avatar Sizes
Four size options for different contexts:Social Links
Automatic icon display for social profiles:Custom Trigger
Use your own trigger element instead of the default avatar:Additional Content
Add custom content to the tooltip:Avatar Styling
Customize the avatar appearance:Initials Fallback
Automatic initials when avatar image fails to load:Props
Author Type
Common Use Cases
Blog Post Byline
Comment Section
Team Members Grid
Inline Mention
Social Icons
The component uses react-icons for social links:- LinkedIn:
FaLinkedin - Twitter/X:
FaTwitter - GitHub:
FaGithub
- 20px (size-5)
- Clickable with hover effects
- Open in new tabs
- Include
rel="noopener noreferrer"
Accessibility
- Avatar has proper alt text via
AvatarImage - Social links open in new tabs safely
- Tooltip accessible via hover and focus
- Screen readers announce author information
- Keyboard navigation fully supported