Sequence
docs
React components

Product activity

A GitHub-style contribution heatmap visualization.

Overview

The ProductActivity component generates a randomized heatmap grid (like GitHub contributions) to visualize user activity density over time.

Usage

import { ProductActivity } from '@/components/core/features/product-activity';

function UserStats() {
  return <ProductActivity count={30} />;
}

Props

PropTypeDefaultDescription
seed?number320Seed for the random position generator to ensure consistency.
count?number24Number of active (filled) cells to generate.
cols?number15Number of columns in the grid.
rows?number4Number of rows in the grid.
className?string-Optional CSS class names.

On this page