dashboardblocks

Dashboard blocks for shadcn/ui. KPIs, charts, tables and full dashboards, installed with the shadcn CLI. Works with Radix, Base UI & React Aria.

#ItemInstall
1
activity-feed

Primitives for activity feeds: a list with connectors that line up with the markers, tinted icons by tone, an unread dot, relative times and "Today" and "Yesterday" day headings that take a fixed now and a time zone, and grouping by day.

2
ai-usage

Primitives for LLM usage: token cost at per-million prices with cached input billed separately, cache savings and hit rate, compact token and dollar formatting, model colours in a fixed order and an input, cached and output token bar.

3
alerts

Primitives for alerts: critical, warning, info and resolved severities, each with an icon and label, plus relative time formatting.

4
animated-number

An animated number component.

5
animated-wave

An animated wave component.

6
app-shell

Primitives for app shells built on the shadcn sidebar: navigation sections from data with active links, badges and collapsible child links, a brand link, a workspace switcher, sidebar and avatar user menus, a top bar, breadcrumbs, a search button with a keyboard shortcut, a notifications bell, plan usage and a top navigation row.

7
chart

Chart components.

8
auth

Primitives for signing in and joining a workspace: a full-page frame with one narrow centred column, a one-time code input with a box per digit that handles paste, autofill and Backspace, a square workspace avatar with initials, and an email masking helper.

9
billing

Primitives for subscription billing: currency formatting, MRR movement from starting to ending MRR, net revenue retention, a waterfall of the movement and an invoice status badge.

10
block-state

Primitives for loading, refreshing, empty and error states: a skeleton, a dimmed frame that keeps its layout while it refreshes, a message with an action, and a data-loading hook.

11
breakdown

Primitives for part-to-whole breakdowns: a segmented 100% bar, legend keys and share formatting.

12
chart-panel

Primitives for full-size chart panels: tooltip, legend, axis defaults and an accessible data table.

13
checklist

Primitives for checklists and steppers: done, in progress, to do and skipped states, each with a marker shape and label, progress maths that leaves skipped steps out, and a styled checkbox.

14
data-table

Dashboard tables on TanStack Table: sorting, search, facet filters, pagination, row selection and column visibility, with inline bars and a stacked layout for narrow cards.

15
command-menu

Primitives for a command menu: a search dialog of pages, actions and records that filters as you type or shows results you fetch, with descriptions, shortcuts and a searching state, a search button with ⌘K, and a shortcut hook.

16
comparison

Primitives for comparisons: deltas, a two-proportion test with a 95% interval, diverging bars, dumbbells and an interval bar.

17
dashboard-header

Primitives for dashboard headers: a date range preset menu, a compare switch, filter menus, filter chips and an export menu.

18
deployments

Primitives for deployments: ready, failed, running, queued and rolled back statuses each with an icon and label, duration and short commit formatting, DORA bands for deployment frequency, lead time, change failure rate and time to restore, a DORA badge and a run history strip.

19
distribution

Primitives for distributions: quantiles from raw values or from binned counts, binning, a five-number summary, the share above a limit, round ticks, a histogram with labelled percentile and threshold lines and an outline for an earlier period, a box plot, an axis and legend keys.

20
error-pages

Primitives for error and interruption pages: a full-page frame with your brand, a centred message, an optional code and icon, actions and footer links, plus UTC time and duration formatting.