Social Button
Sign-in buttons for Google, Apple, GitHub, Microsoft, X, Discord, Slack and Facebook with inline SVG logos in outline, brand, soft and icon styles.
About Social Button
Sign-in buttons for Google, Apple, GitHub, Microsoft, X, Discord, Slack and Facebook with inline SVG logos in outline, brand, soft and icon styles.
Social Button is a free primitive component for React, built on shadcn/ui and Tailwind CSS with motion animations that respect reduced-motion settings. It ships as 133 lines of TypeScript you own: every piece of copy is a prop with a sensible default, so you can drop it in and replace the content without touching the layout.
- social login
- oauth
- sign in
- github
- apple
Installation
- Add the Chocolate UI registry to your
components.json(see the installation guide). - Run the shadcn CLI:
npx shadcn@latest add @chocolate/social-buttonDependencies installed automatically: motion.
Uses: motion-presets, spinner, utils.
Usage
import SocialButton from "@/components/ui/social-button"
export default function Page() {
return <SocialButton />
}