Open in a new tab
View code
tsx
<ContributionGraph
	days={days}
	start="2025-11-14"
	end="2026-11-13"
	locale="en-US"
	href={(date) => `/sergiodxa?tab=overview&from=${date}&to=${date}`}
	labels={{
		caption: `${total.toLocaleString("en-US")} contributions in the last year`,
		day: (count, date) => `${count === 0 ? "No" : count} contribution${count === 1 ? "" : "s"} on ${date}`,
		less: "Less",
		more: "More",
	}}
/>