uibrik

Pulse Calendar

New

Preview

Customize

Year2026
Accent

Usage

import { PulseCalendar } from "@/components/uibrik/pulse-calendar/pulse-calendar";

<PulseCalendar />

Installation

npx shadcn@latest add https://uibrik.com/r/pulse-calendar.json
Adds the files to components/uibrik/pulse-calendar and installs @number-flow/react, @tabler/icons-react, motion and react-use-measure. With the @uibrik namespace set up: npx shadcn@latest add @uibrik/pulse-calendar.

Props

PulseCalendar
title
Type string
"Commits"
Names what is plotted.
unit
Type string
"commits"
What one unit is called in the readout.
showFilter
Type boolean
true
Weekday and weekend filter in the card's corner.
defaultYear
Type number
2026
Year shown first.
accent
Type string
""
Dot colour at full strength. Empty uses the chart palette.
values
Type number[]
–
One value per day, oldest first. May span several years.
start
Type string
–
ISO date of the first value, e.g. "2024-01-01".
format
Type Intl.NumberFormatOptions
{}
Formats every number.
onActiveChange
Type (index: number | null) => void
–
Called with the day's index in `values` under the cursor or keyboard.
onYearChange
Type (year: number) => void
–
Called when the year arrows change the year.
className
Type string
–
Classes for the outer shell.