Social Icons
A row of social network icon links (Facebook, X, Instagram, LinkedIn, YouTube, TikTok, WhatsApp) as inline SVG that follows the text colour.
npx shadcn@latest add https://ui.develop-better-solutions.com/r/social-icons.jsonUsage
social-icons-example.tsx
import { SocialIcons } from "@dbs/ui";
export default function SocialIconsExample() {
return (
<div className="flex flex-col gap-6 py-6">
<SocialIcons />
<SocialIcons networks={["Instagram", "TikTok", "YouTube", "WhatsApp"]} linkClassName="border border-line" />
<div className="inline-flex w-fit rounded-xl bg-ink p-2 text-canvas">
<SocialIcons networks={["X", "LinkedIn", "Facebook"]} linkClassName="text-canvas/80 hover:bg-white/10 hover:text-canvas" />
</div>
</div>
);
}