ThatDesignUIOriginalInteractive preview
Provider sign-in button
A Continue with GitHub button that shows Connecting with a spinner, then the signed-in account with a check, then resets.
- Category
- Buttons
- Platform
- Responsive
Interactive componentClick through it, resize it, or switch states. It’s real UI, not a screenshot.Default state
Use this component
Free to use. It works on its own in any React and Tailwind project, so you can add it with one command, paste the code, or hand the prompt to your coding agent.
FreeReact 18+Tailwind v3.4 or v4No extra packages
1. Add it with the shadcn CLI
npx shadcn@latest add https://www.thatdesignui.com/r/provider-sign-in-button.json2. Use it
Every prop is optionalapp/page.tsx
import ProviderSignInButton from "@/components/provider-sign-in-button";
export default function Page() {
return <ProviderSignInButton />;
}Prefer to paste it yourself? Open the .
Under the hood
How it’s built
What’s inside
- A 48px near-black (#24292f) button, at least 17rem wide, rounded 8px, with the GitHub mark and Continue with GitHub in white.
- Clicking swaps the mark for a spinner and the label for Connecting… for 1.4 seconds, then turns green with a check and Signed in as the account, then resets after 2.2 seconds.
- Disabled is pale grey with grey text.
How it behaves
- Each phase changes the label, not only the icon, and the label is announced.
- Clicks are ignored while connecting.
- aria-busy is true while connecting.
- Focus shows a blue ring.



