Contribution Heatmap Tile

A weeks × days activity heatmap: cells pop in on a diagonal wave, the total and streak roll up, and the grid is one roving tab stop where arrows move a ring that announces the day.

Try it: Hover cells, or focus the grid and use the arrow keys.

Installation

Install with the shadcn CLI:

npx shadcn@latest add https://www.framekitui.live/r/contribution-heatmap-tile.json

Or, with the @framekit namespace registered: npx shadcn@latest add @framekit/contribution-heatmap-tile. You can also copy the source into components/ui/contribution-heatmap-tile.tsx (view on GitHub).

Usage

import { ContributionHeatmapTile } from '@/components/ui/contribution-heatmap-tile'

Props

Component props
PropTypeDefaultNotes
valuesnumber[][]16 weeksvalues[week][day], 0–4.
weeksnumber16Generated weeks when no values.
unit / colorstringsessions / '#22c55e'Unit label and scale hue.
classNamestring—Extra classes merged onto the root.

Dependencies

  • motion
  • lucide-react
  • Wallet Balance Card

    A fanned stack of payment cards: picking one springs it to the front while the rest tuck behind, the balance rolls to the new amount and an eye toggle blurs the figures.

  • Spend Donut Card

    A radial spend breakdown whose rounded arcs sweep in one after another; hovering or focusing a category pops its arc outward and rolls the centre total to that amount.

  • Crypto Ticker Row

    A watchlist with live prices: each tick flashes the price green or red and fades back, mini sparklines morph to the new history and every row is a labelled button.

  • Sparkline KPI Tile

    A compact metric tile with a live dot, rolling numerals, a delta chip and a smooth sparkline that draws in, streams new points and shows a crosshair value on hover or ← →.

  • Goal Progress Card

    A savings goal with a liquid progress bar: topping up springs the fill forward under a moving sheen, milestone ticks light as they pass and reaching the goal morphs the button into a check.

  • Pastel Object Carousel

    A cover-flow of pastel portrait cards with floating caption panels. A heavily damped spring carries drags; neighbours tuck behind at 85%, and each layered CSS-3D object (coins, calendar, key, lock…

See all 13 Data Widgets components