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";
export default function SocialButtonAppearanceDemo() {
return (
<div className="flex flex-col gap-3">
{/* Colorful: the brand colour in the primary Button's gradient (default) */}
<SocialButton brand="google" appearance="colorful" />
{/* Black: the same shape in high-contrast solid */}
<SocialButton brand="google" appearance="black" />
{/* White: outlined, and the one that shows the real multi-colour mark */}
<SocialButton brand="google" appearance="white" />
</div>
);
}




