ProjectProgress
Scope, started and completed work over a date range, on one chart. Point at the chart to read any day.
Cycle 14
Nov 15 – Feb 15MKTSJR
Scope
356+32%
Started
64
Completed
192
Installation
Run this in a project that has a components.json. It adds one file, components/tenor-ui/project-progress.tsx, and no packages.
pnpm dlx shadcn@latest add https://tenor.design/r/project-progress.jsonNo components.json? Fetch the file. It works in any React project.
curl --create-dirs -o src/components/tenor-ui/project-progress.tsx https://tenor.design/r/project-progress.tsxUsage
Every prop is optional. With none, it renders the content you see above.
<ProjectProgress />import { ProjectProgress } from "@/components/tenor-ui/project-progress";
export function LaunchProgress() {
return (
<ProjectProgress
title="Billing launch"
start="2026-01-05"
end="2026-03-27"
assignees={["AL", "DN", "RV"]}
intervals={[
{
label: "Week",
growth: 8,
series: [
{ label: "Scope", value: 128, points: [0.2, 0.34, 0.41, 0.58, 0.66, 0.81, 0.9] },
{ label: "Started", value: 22, points: [0.05, 0.12, 0.1, 0.18, 0.16, 0.24, 0.27] },
{ label: "Completed", value: 71, points: [0.04, 0.11, 0.2, 0.31, 0.39, 0.5, 0.62] },
],
},
{
label: "Month",
growth: 21,
series: [
{ label: "Scope", value: 128, points: [0.2, 0.52, 0.74, 0.9] },
{ label: "Started", value: 22, points: [0.05, 0.14, 0.2, 0.27] },
{ label: "Completed", value: 71, points: [0.04, 0.22, 0.43, 0.62] },
],
},
]}
defaultInterval="Week"
/>
);
}Props
| Prop | Type | Default | What it does |
|---|---|---|---|
title | string | "Cycle 14" | Heading of the card. |
start | Date | string | "2024-11-15" | First day of the range, read in UTC. |
end | Date | string | "2025-02-15" | Last day of the range, read in UTC. |
assignees | readonly string[] | projectProgressAssignees | Initials of the people on the project, one avatar each. |
intervals | readonly ProjectProgressInterval[] | projectProgressIntervals | The chart's data at each interval. More than one adds the switch. |
interval | string | None | Label of the interval shown. Pass it to control the switch. |
defaultInterval | string | "Month" | Label of the interval shown first when the switch is not controlled. |
onIntervalChange | (label: string) => void | None | Called with an interval's label when it is chosen. |
locale | string | "en-US" | Locale used to format figures and dates. |
theme | "dark" | "light" | "dark" | Colour palette. |
It also takes every attribute of its root element, such as className and style.
Theming
Set any of these CSS variables on the component or on an ancestor. Each falls back to the look shown here.
--tui-surface--tui-stroke--tui-divider--tui-control--tui-control-hover--tui-selected--tui-text--tui-muted--tui-subtle--tui-on-tone--tui-series-1--tui-series-2--tui-series-3--tui-font-sans--tui-font-mono