Skip to Content
✨ Just dropped my UI Library — still cooking up some magic! Stay tuned & maybe… hire me  or sponsor me 😉 
DocumentationSocialCard

SocialCard

An interactive card component that reveals action links on hover with smooth animations. Perfect for social media links, contact information, or any quick access buttons.

Install Dependencies

npx
quickcode-ui add SocialCard

Default Usage

Default Hover Card

Connect

Props

PropTypeDefaultDescription
actionLinks[ActionLink, ActionLink, ...ActionLink[]]-Array of action links (minimum 2 required)
labelstring"Links"Text displayed before hover
classNamestring-Additional CSS classes for custom styling
PropTypeDescription
iconstringIcon name (github, instagram, linkedin, twitter, facebook, youtube, globe, mail, phone)
urlstringTarget URL for the link
colorstringHex color code for the icon

Features

  • Smooth Hover Animation: Reveals action links with sliding background effects
  • Flexible Action Links: Support for any number of links with custom icons and colors
  • TypeScript Safe: Enforces minimum 2 action links at compile time
  • Responsive Design: Automatically adjusts link widths based on count
  • Dark Mode Ready: Built-in support for light and dark themes
  • Accessibility Focused: Proper link structure with external link handling
Last updated on