Skip to content
StackD
Hex dashboard, the StackD component

Templates · Free

Hex dashboard

A store dashboard in ink: a live funnel shoppers flow through, a hexagon radar you rearrange by drag, traffic sources, sales by hour and revenue by plan; lays itself out from phone to desktop.

Free on Gumroad: the download arrives in your inbox.

Details

Category
Templates
Plan
Free
Code
React + Tailwind, TypeScript · 692 lines
Files
HexDashboard.tsx
Needs
The Bot (installed with it)
Agents
MCP server and shadcn registry

About

A store's performance in ink and paper. On top, a live funnel: shoppers flow through it as little dots, and the ones who leave fall away at each step, so the counters climb while the rates hold. Beside it, a hexagon radar: six metrics on its corners, this week filled in ink and last week as a dashed outline. Drag a metric from the tray onto a corner (or click one, then a corner) and the shape morphs on a spring to show it.

Underneath: traffic sources as lines of dots, sales by hour as a week of small blocks (the hour you're in catches each new sale), and revenue by plan as pill bars. Green and red only for what went up or down.

It lays itself out for its own width, not the screen's: two rows with the sidebar open when it's wide, the sidebar folded into a rail and the cards in pairs in between, and one column with a top bar on a phone. Light and dark.

Install

With the shadcn CLI:

npx shadcn@latest add https://www.stackd.codes/r/hex-dashboard.json

Or let your agent add it through the StackD MCP server:

claude mcp add --transport http stackd https://www.stackd.codes/mcp

Prompt for your agent

Paste it into Claude Code, Cursor, Codex or VS Code once the MCP server is connected.

Add the StackD Hex dashboard component to this project. Use the StackD MCP server: call get_component with { "name": "hex-dashboard" }, write the files at the paths it gives and install any npm packages it lists. Then use it where it fits, following its README for the props, and keep its own styles.

What's inside

FileWhat it is
HexDashboard.tsxThe dashboard: the funnel, the radar, the three charts and the layout
JellySidebar.tsxThe side menu
Bot.tsxThe Bot, in the header and the sidebar

Use

  1. Copy the three files into the same folder of your project (for example components/dashboard/).
  2. Use it:
import { HexDashboard } from './components/dashboard/HexDashboard'

<HexDashboard name="Ada" />

It runs on made-up data so you can see it move. To use yours, open HexDashboard.tsx: each card reads its numbers from a constant just above it: STEPS and START (the funnel), METRICS (the radar: now and before from 0 to 100, and show, the value written on the chip), SOURCES, weekSales() and PLANS.

In Next.js the files already start with 'use client'. In other React setups that line does nothing.

Options

PropDefaultWhat it does
name'Ada'Who's looking, for the sidebar and the phone's top bar
theme'light''light' or 'dark'
heightA fixed height in px, scrolling inside. Leave it out to grow with its content
classNameExtra classes

Works with

Mouse, touch and keyboard: the radar's chips are buttons (click a tray metric, then a corner), and every chart answers when you point at it. The funnel only animates while it's on screen. With reduced motion on, nothing springs and the shoppers stay still.

Colours

Ink #141310 on paper #F8F7F4 (dark: paper on #141310), green #3E9B57 for up and red #B8463C for down.