getProviderIcon (lib/provider-icons.ts)

better-auth-ui · packages/react/src/lib/provider-icons.ts · typescript · MIT
crm

Module exposing: getProviderIcon, renderProviderIcon

// Source: https://github.com/better-auth-ui/better-auth-ui | License: MIT | Copyright 2025 daveycodez
// Provided via justclaw.it.com; keep this notice with the code.
import type { AuthSocialProvider } from "@better-auth-ui/core"
import type { SocialProvider } from "better-auth/social-providers"
import {
  type ComponentPropsWithRef,
  type ComponentType,
  cloneElement,
  createElement,
  isValidElement,
  type ReactElement
} from "react"
import {
  Apple,
  Atlassian,
  Cognito,
  Discord,
  Dropbox,
  Facebook,
  Figma,
  GitHub,
  GitLab,
  Google,
  HuggingFace,
  Kakao,
  Kick,
  Line,
  Linear,
  LinkedIn,
  Microsoft,
  Naver,
  Notion,
  Paybin,
  PayPal,
  Polar,
  Railway,
  Reddit,
  Roblox,
  Salesforce,
  Slack,
  Spotify,
  TikTok,
  Twitch,
  Vercel,
  VK,
  WeChat,
  X,
 

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key