A grid of provider buttons where the brand color washes in as a circle from the exact point the pointer enters and drains toward the point it leaves. While connecting, stripes run across and a bar fills along the bottom.
Tunefeed
Bring your playlists and streams.
npx shadcn@latest add https://hyperblur.dev/r/social-login-color-wash.jsonWorks in any React project set up with the shadcn CLI. The file lands in components/hyperblur/social-login-color-wash.tsx.
import { SocialLoginColorWash } from "@/components/hyperblur/social-login-color-wash"
<SocialLoginColorWash providers={["google", "github", "spotify", "twitch"]} columns={2} />| Prop | Type | Default | Description |
|---|---|---|---|
| providers | Array<SocialProviderId | { id: string; label?: string; icon?: ReactNode; color?: string; bg?: string; fg?: string }> | ["google", "github", "spotify", "twitch"] | Providers in display order. Built-in ids: google, github, apple, x, linkedin, discord, facebook, microsoft, slack, spotify, twitch, figma, email, link. Pass an object to set a custom label, icon or colors, or to add any other provider. |
| labelPrefix | string | "Continue with" | Text placed before the provider name and used in the accessible name. |
| columns | 1 | 2 | 3 | 2 | Number of grid columns. |
| onSelect | (provider: string) => void | Promise<unknown> | Called with the provider id. Return a promise to keep the loading state until it settles. | |
| pendingDuration | number | 1400 | How long the loading state lasts in milliseconds when onSelect does not return a promise. |
| disabled | boolean | false | Disables every button. |