A GitHub-style contribution calendar heatmap with a grayscale color scheme option.
pnpm dlx shadcn@latest add @componentry/github-calendarDependencies: framer-motion clsx tailwind-merge
| Prop | Type | Default |
|---|---|---|
username | stringThe GitHub username to fetch contributions for. (Required) | — |
colorSchema | "green" | "gray"The color scheme for the contribution cells. | "green" |
showTotal | booleanWhether to show the total contributions count header. | true |
Keep in mind
Need a custom component?
I build bespoke UI components & websites tailored to your brand.
import { GithubCalendar } from "@/components/ui/github-calendar"
<GithubCalendar username="harshjdhv" />