BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/elements/clerk-oauth-buttons

Clerk OAuth Buttons

elements/clerk-oauth-buttons
FreeBlock

Social login button group with Google, GitHub, Apple, and Microsoft. Supports default, outline, and icon-only variants with horizontal/vertical layouts.

Install it

npx shadcn@latest add https://www.tryelements.dev/r/clerk-oauth-buttons.json

Source

registry/default/blocks/clerk/clerk-oauth-buttons/components/elements/clerk-oauth-buttons.tsxwww.tryelements.dev/r/clerk-oauth-buttons.json · first 6 KB
1"use client";
2
3import type * as React from "react";
4import { useState } from "react";
5
6import { useClerk, useSignIn } from "@clerk/nextjs";
7
8function cn(...classes: (string | boolean | undefined)[]) {
9 return classes.filter(Boolean).join(" ");
10}
11
12function LoaderIcon({ className }: { className?: string }) {
13 return (
14 <svg
15 aria-hidden="true"
16 className={cn("animate-spin", className)}
17 xmlns="http://www.w3.org/2000/svg"
18 width="16"
19 height="16"
20 viewBox="0 0 24 24"
21 fill="none"
22 stroke="currentColor"
23 strokeWidth="2"
24 strokeLinecap="round"
25 strokeLinejoin="round"
26 >
27 <path d="M21 12a9 9 0 1 1-6.219-8.56" />
28 </svg>
29 );
30}
31
32function GoogleLogo({ className }: { className?: string }) {
33 return (
34 <svg
35 aria-hidden="true"
36 xmlns="http://www.w3.org/2000/svg"
37 viewBox="0 0 24 24"
38 className={className}
39 >
40 <path
41 d="M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92a5.06 5.06 0 0 1-2.2 3.32v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.1z"
42 fill="#4285F4"
43 />
44 <path
45 d="M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z"
46 fill="#34A853"
47 />
48 <path
49 d="M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z"
50 fill="#FBBC05"
51 />
52 <path
53 d="M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z"
54 fill="#EA4335"
55 />
56 </svg>
57 );
58}
59
60function GitHubLogo({ className }: { className?: string }) {
61 return (
62 <svg
63 aria-hidden="true"
64 xmlns="http://www.w3.org/2000/svg"
65 viewBox="0 0 24 24"
66 fill="currentColor"
67 className={className}
68 >
69// … truncated

What it pulls in

npm packages

  • @clerk/nextjs

Files it writes

  • registry/default/blocks/clerk/clerk-oauth-buttons/components/elements/clerk-oauth-buttons.tsx

Facts

Registry
elements
Type
registry:block
Access
Free
Files written
1
Licence
MIT
First indexed
2026-08-04
Last confirmed
today

Go to the source

www.tryelements.dev crafter-station/elements on GitHub Raw registry item This item as JSON

More from elements

All 359 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Agentic Codingagentic-codingelementsBlocksFreeno deps
AgentMail Logoagentmail-logoelementsBlocksFreeno deps
AI Badgeai-badgeelementsBlocksFree2 deps · 2 files
AI Servicesai-serviceselementsBlocksFreeno deps
Astro Logoastro-logoelementsBlocksFreeno deps
AWS All Servicesaws-allelementsBlocksFreeno deps
AWS Analyticsaws-analyticselementsBlocksFreeno deps
AWS Computeaws-computeelementsBlocksFreeno deps
BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex