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
  • Modal Dialog

    Modal Dialog

    3
  • Composer Loader

    Composer Loader

    3
  • Select

    Select

    1
  • Accordion

    Accordion

    1
  • Segmented Control

    Segmented Control

  • Date Calendar

    Date Calendar

  • Slider

    Slider

  • File Upload

    File Upload

More in Sign-in

View all
  • Pro Sign-in Animation

    Pro Sign-in Animation

    96
  • Modern & Stunning sign in

    Modern & Stunning sign in

    1.8K
  • SignInPage

    SignInPage

    793
  • Sign In Auth Card

    Sign In Auth Card

    14
  • Clean & Minimal sign in

    Clean & Minimal sign in

    692
  • Sign In Form

    Sign In Form

    219
  • Sign In

    Sign In

    112
  • X Modern & Stunning sign in

    X Modern & Stunning sign in

    32