Command Palette

Search for a command to run...

Docs
Button Social

Button Social

Social login buttons for Google, GitHub, Twitter, Facebook, and Apple.

Installation

Usage

import ButtonSocial from "@/components/ruixen/button-social";
 
export default function LoginPage() {
  return (
    <div className="flex flex-col gap-3">
      <ButtonSocial provider="google" />
      <ButtonSocial provider="github" />
      <ButtonSocial provider="twitter" />
      <ButtonSocial provider="facebook" />
      <ButtonSocial provider="apple" />
    </div>
  );
}

Props

PropTypeDefaultDescription
provider"google" | "github" | "twitter" | "facebook" | "apple"-Social provider to display
classNamestring-Additional CSS classes

Features

  • Five popular social providers
  • Provider-specific branding and icons
  • Consistent styling across providers
  • Hover and focus states
  • Light and dark mode support