Learn how to use and integrate our social media components into your projects
Our social media components are designed to be copy-and-paste friendly. Choose between the rotating circle or scrolling marquee style to showcase your social media links.
Our components are built with React and styled with Tailwind CSS. Make sure you have these installed in your project:
npm install tailwindcss @tailwindcss
All components are framework-agnostic and work with any React setup including Next.js, Create React App, Vite, and more.
We offer two social media component styles:
// 1. Copy the component code import SocialIconsCircle from './components/SocialIconsCircle' // 2. Use it in your JSX function App() { return ( <div> <SocialIconsCircle /> </div> ) } // The component will automatically: // - Display social media icons in a rotating circle // - Show color effects on hover // - Handle smooth animations and transitions
// 1. Copy the component code import SocialIconsMarquee from './components/SocialIconsMarquee' // 2. Use it in your JSX function App() { return ( <div> <SocialIconsMarquee /> </div> ) } // The component will automatically: // - Create an infinite scrolling marquee // - Highlight icons when centered // - Show color effects on hover
Customize the social media links by modifying the socialLinks array:
const socialLinks = [ { href: "https://github.com/Anuja-jayasinghe", label: "GitHub", blackIcon: "/path/to/black-icon.svg", whiteIcon: "/path/to/white-icon.svg", colorIcon: "/path/to/color-icon.svg", angle: 0, // Only for circle component }, // Add more social links... ]
Both components use Tailwind CSS classes and can be customized:
Need help with the social media components?