Wasif Bin Nasir

Social Links

Buttons 324

About

A fully responsive and theme-aware social media links component that displays a vertical sidebar on desktop and a floating expandable dock on mobile. Each link is styled with platform-specific gradients and consistent white icons for both light and dark themes. The floating dock includes an interactive toggle button that adapts its icon color based on theme mode.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Social Links to your project and fits it to your theme.

Code

How Social Links is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import * as React from "react";
import { SocialLinks } from "@/components/ui/social-links";

export default function SocialLinksDemo() {
  return (
    <div className="min-h-screen flex items-center justify-center bg-[hsl(var(--background))]">
      <SocialLinks
        links={[
          { platform: "linkedin", href: "https://linkedin.com" },
          { platform: "github", href: "https://github.com" },
          { platform: "instagram", href: "https://instagram.com" },
          { platform: "mail", href: "mailto:test@example.com" },
          { platform: "website", href: "https://example.com" },
        ]}
        floatingButtonColor="bg-slate-700"
      />
    </div>
  );
}

Dependencies

More by Wasif Bin Nasir

View all
  • PreLoader

    PreLoader

    4

More in Buttons

View all
  • Button

    Button

    166
  • Texture Button

    Texture Button

    121
  • Button

    Button

    21
  • Figma File Button

    Figma File Button

    39
  • Native Button

    Native Button

    12
  • Button

    Button

    88
  • HeroUI Button Group

    HeroUI Button Group

    11
  • Great UI Button

    Great UI Button

    19