Standing Calendar, animated React component
- Pro
- Dashboards
- 3D
- Spring
- Hover
A contribution grid that stands up into a 3D field of columns. Each day becomes a box as tall as its count, rising in a wave across the weeks; hover a day to read its value.
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| weeks | number | 30 | How many weeks of sample data to draw. Ignored when data is passed. |
| data | number[][] | — | Your own counts: one array of 7 numbers (Mon to Sun) per week. Sample data is generated if left out. |
| levels | string[] | STANDING_CALENDAR_LEVELS | Five colours from no activity to busiest. The default empty colour follows light and dark mode. |
| autoplay | boolean | false | Stands up and lies down on a loop until someone interacts. |
Add it to your project
- 1
Set up your project once
You need a Next.js project with Tailwind CSS and the
@/import alias. In its root folder, run this once. It createscomponents.jsonand thecn()helper insrc/lib/utils.ts:npx shadcn@latest init -d
Starting from nothing? The Quick Start walks through the whole thing.
- 2
Connect the registry with your API key
Standing Calendar is a Pro item, so the CLI has to send your API key. Do this once per project:
- Create a key at nexus-ui.com/dashboard/api-key. Copy it straight away: it starts with
nxs_and is shown only once. - In your project root, next to
package.json, create a file named.env.localwith this line, using your own key:NEXUS_API_KEY=nxs_your_key_here
- Open
components.jsonand add this entry inside the outermost braces, next to"aliases". Leave{name}and${NEXUS_API_KEY}exactly as written; the CLI fills them in:"registries": { "@nexus-labs": { "url": "https://www.nexus-ui.com/api/registry/{name}", "headers": { "Authorization": "Bearer ${NEXUS_API_KEY}" } } }
- Create a key at nexus-ui.com/dashboard/api-key. Copy it straight away: it starts with
How Standing Calendar works
A year-of-activity grid that stands up into a 3D field of columns. Each cell becomes a box (top, front and side faces) whose height is its count, and the columns rise in a wave from the first week to the last.
The source, the install command and the build prompt come with Pro.
Standing Calendar questions
How do I install Standing Calendar?
Run `npx shadcn@latest add @nexus-labs/standing-calendar`. It installs framer-motion. Standing Calendar is a Pro component, so it needs a Pro plan and an API key; key setup is on the CLI docs page (/docs/cli).
How do I pass my own data?
Pass `data` as `number[][]`: one array of 7 counts per week, Monday to Sunday. Without it the component generates sample data for `weeks` weeks (default 30). A standing column is `3 + count * 6` px tall.
How do counts map to colors?
`levels` takes five colors. A count of 0 uses the first, 1 to 2 the second, 3 to 5 the third, 6 to 8 the fourth and 9 or more the fifth. The default first color follows light and dark mode.
How do I switch between flat and standing?
It starts flat, with Flat and Standing toggle buttons below the grid. There is no prop to start standing. `autoplay` (default `false`) stands up and lies down on a loop until someone interacts.
How does hover work?
Hovering a day turns its top orange and shows "Week n, Day: value" above the grid, next to the total count. Hover uses pointer events only, so there is no keyboard equivalent for reading a day.

