
router
TanStack Router is a type-safe, data-driven React router with built-in caching, prefetching, and nested layouts, while TanStack Start extends it into a full-stack SSR framework.
它通过独特的抖动美学赋予 shadcn/ui 图表新颖的视觉风格,结合类似 Recharts 的 API、入场动画、擦洗提示、选择、闪烁效果和色彩光晕——所有这些都由一个轻量级画布引擎驱动。
Composable, dithered charts for shadcn/ui — area, line, bar, pie & radar rendered on a tiny ordered-dither canvas engine. Recharts-style children-as-config API, entrance animations, a gliding scrub tooltip, selection, winking sparkles, and colour bloom.
Live demos & docs → tripwire.sh/dither-kit
Requires Tailwind CSS. The components are styled with Tailwind — without it, they render unstyled. Set up Tailwind and a shadcn project (
components.json) first.
The recommended way is the Dither Kit CLI, which adds a lockfile so you can update and diff your components later:
npx @dither-kit/cli add area-chart # add a component
npx @dither-kit/cli list # see what's available
npx @dither-kit/cli update # pull upstream changes into your copy
See packages/cli for the full command reference.
Or install straight from this repo with the shadcn CLI (zero config, no lockfile). Each chart pulls the shared core engine (and its deps like motion + d3) automatically:
npx shadcn@latest add Boring-Software-Inc/dither-kit/area-chart
Available items:
| item | what you get |
|---|---|
area-chart | area + line charts, includes Sparkline |
bar-chart | grouped / stacked bars |
pie-chart | pie / donut |
radar-chart | radar |
avatar | generative mirrored pixel avatars (standalone) |
button | dithered buttons (standalone) |
gradient | dithered gradient washes (standalone) |
core | shared chart engine (installed automatically by the charts) |
dither-kit | everything at once |
npx shadcn@latest add Boring-Software-Inc/dither-kit/dither-kit # all of it
Pin a ref if you want: …/dither-kit/area-chart#main.
Files land in components/dither-kit/. Then:
import { AreaChart, Area, XAxis, YAxis, Legend, Tooltip } from "@/components/dither-kit/area-chart"
const data = [{ month: "Jan", desktop: 186 }, { month: "Feb", desktop: 240 }]
const config = { desktop: { label: "Desktop", color: "blue" } }
variant: gradient | dotted | hatched | solidbloom: off | low | high | auraregistry/dither-kit/ — the component sources (sourComposable, dithered charts for shadcn/ui — area, line, bar, pie & radar. Docs: tripwire.sh/dither-kit
根据分类、Topic 和编程语言匹配的相似项目。

TanStack Router is a type-safe, data-driven React router with built-in caching, prefetching, and nested layouts, while TanStack Start extends it into a full-stack SSR framework.
scriptc compiles ordinary TypeScript into small, fast native executables without needing Node.js, V8, or any JavaScript runtime in the binary.
A React component library that renders six hand-tuned animated thought orb loading indicators on a plain 2D canvas, with two purpose-tuned sizes and automatic theme detection for AI and agent UIs.