boardui

Social Button

Sign-in

About

A sign-in button for a third-party provider like Google, GitHub, Slack or Apple, with the correct brand logo, color and label, plus icon-only and custom-provider SSO variants.

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

Code

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

Usage.tsx

import { SocialButton } from "@/components/ui/social-button";
import { RiShieldKeyholeLine } from "@remixicon/react";

export default function SocialButtonCustomDemo() {
  return (
    <div className="flex flex-col gap-3">
      <SocialButton
        brand="custom"
        config={{
          icon: <RiShieldKeyholeLine className="size-5" />,
          label: "Okta SSO",
          color: "#0f172a",
        }}
      />

      {/* label defaults to "SSO" and color to black */}
      <SocialButton
        brand="custom"
        config={{ icon: <RiShieldKeyholeLine className="size-5" /> }}
      />
    </div>
  );
}

More by boardui

View all
  • Segmented Control

    Segmented Control

  • Notification Center

    Notification Center

  • Spinner

    Spinner

  • Dropdown

    Dropdown

  • Icon Button

    Icon Button

  • Chip

    Chip

More in Sign-in

View all
  • Modern & Stunning sign in

    Modern & Stunning sign in

    1.8K
  • SignInPage

    SignInPage

    766
  • Clean & Minimal sign in

    Clean & Minimal sign in

    677
  • Sign In Form

    Sign In Form

    216
  • Sign In

    Sign In

    108
  • Split Sign In Form

    Split Sign In Form

    122
  • Authentication Card

    Authentication Card

    52
  • Sign In Card

    Sign In Card

    2.8K