BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/UI Components/github-contributions-advanced

GitHub Contributions Advanced

ui-components/github-contributions-advanced
FreeBlock

A advanced GitHub contributions component.

Install it

npx shadcn@latest add https://ui.raulcarini.dev/r/github-contributions-advanced.json

Source

registry/github-contributions/github-contributions-advanced.tsxui.raulcarini.dev/r/github-contributions-advanced.json
1import * as React from "react";
2import GithubContributions, {
3 Contribution,
4} from "@/registry/github-contributions/github-contributions";
5
6export default function GithubContributionsAdvanced({
7 data,
8 newPublicRepositories,
9}: {
10 data: Contribution[];
11 newPublicRepositories: number;
12}) {
13 return (
14 <div className="flex flex-col gap-2 w-full md:w-min">
15 <p className="text-sm text-foreground">
16 <span className="font-semibold">
17 {data.reduce((acc, item) => acc + item.count, 0)}
18 </span>{" "}
19 contributions in the last year and{" "}
20 <span className="font-semibold">{newPublicRepositories}</span> new
21 public repositories.
22 </p>
23 <GithubContributions data={data} />
24 <div className="flex items-center justify-between gap-3 w-full text-xs text-muted-foreground">
25 <a
26 href="https://docs.github.com/articles/why-are-my-contributions-not-showing-up-on-my-profile"
27 className="hover:underline underline-offset-2"
28 target="_blank"
29 rel="noopener noreferrer"
30 >
31 Learn how we count contributions
32 </a>
33 <div className="flex items-center gap-1">
34 Less
35 <div className="size-2.5 p-0 rounded-xs bg-github-0"></div>
36 <div className="size-2.5 p-0 rounded-xs bg-github-1"></div>
37 <div className="size-2.5 p-0 rounded-xs bg-github-2"></div>
38 <div className="size-2.5 p-0 rounded-xs bg-github-3"></div>
39 <div className="size-2.5 p-0 rounded-xs bg-github-4"></div>
40 More
41 </div>
42 </div>
43 </div>
44 );
45}

What it pulls in

Other registry items

  • https://ui.raulcarini.dev/r/github-contributions.json

Files it writes

  • registry/github-contributions/github-contributions-advanced.tsx

Facts

Registry
UI Components
Type
registry:block
Access
Free
Files written
1
Licence
MIT
First indexed
2026-08-01
Last confirmed
yesterday

Go to the source

ui.raulcarini.dev R4ULtv/ui on GitHub Raw registry item This item as JSON

More from UI Components

All 25 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
GitHub Contributionsgithub-contributionsUI ComponentsBlocksFreeno deps
GitHub Contributions Advanced Fetchergithub-contributions-advanced-fetcherUI ComponentsBlocksFreeno deps
GitHub Contributions Fetchergithub-contributions-fetcherUI ComponentsBlocksFreeno deps
GitHub Forksgithub-forksUI ComponentsBlocksFree1 dep
GitHub Issuesgithub-issuesUI ComponentsBlocksFree1 dep
GitHub Pull Requestsgithub-prUI ComponentsBlocksFree1 dep
GitHub Starsgithub-starsUI ComponentsBlocksFree1 dep
GitHub Stars Progressgithub-stars-progressUI ComponentsBlocksFree1 dep
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