Vibeleaderboard
Index / tool

Markdown Graphs

mdx-graphs.kshv.me
Category
Developer Tools
Rank
No. 1110Tools index
Pricing
Open Source
Type
TOOL
Use case
Design & Media
Builder
@kshvbgde
GitHub
723 stars
Date

About

A collection of ASCII-framed table, chart, and diagram components for MDX, distributed as a shadcn registry rather than an npm package — the CLI copies each item's source into your repo, or you can copy the files by hand. Components include Table, Flow, Bars, Rank, Meter, Spark, Tree, Timeline, Funnel, Gantt, Plot, Waffle, Diff, Invoice, Compare, Stat, KPI, Heatmap, Calendar, Waterfall, Uptime, Slope, Bullet, Timer, and Countdown, each drawn in a dashed frame with a title on the top edge. Graphs take a single accent color, with duo and multi palettes available for drawing components.

What it does

Figures for documentation pages that are made of text characters instead of SVG or canvas drawings. You write ordinary Markdown inside a component tag, such as a list where bold marks the current step and italic marks the next, and the component lays it out inside a dashed box. Beyond charts it covers prose blocks too: callouts, quotes, shell sessions, changelogs, annotated code, decision records, chat transcripts, environment variables and API endpoints. Many figures also have a plain-text renderer, so the same picture can be pasted as a fenced block into a README or pull request.

Why it's ranked here

The text-first approach is the argument. Because the figures are characters, they survive where images do not: a README, a pull request description, a chat reply from an agent. The project also builds for agents directly, with a read-only catalog API that needs no key, an OpenAPI description, a plain-text guide for language models and an installable skill file. Every component entry carries when-to-use and when-not-to-use hints that point at the right sibling. It is MIT licensed and installs through the shadcn registry flow many React teams already use.

What's good

The Markdown-as-input design is the strongest idea: authors write lists, tables and emphasis, not prop arrays, and most content blocks also accept a data form when the content comes from code. The component docs steer choice explicitly, for example telling you a dated sequence belongs in Timeline and a punch list in Check. Theming runs on a small set of CSS variables with separate light and dark values, three accent slots, and adjustable corner characters and glyph sets. The public API documents rate limit headers, a versioned path and a stated six month notice before breaking changes.

Tradeoffs

Copying source into your repository means fixes upstream do not reach you; you re-run the copy or patch by hand. The project package is marked private, so there is no npm install path. Every registry item depends on the Motion animation library and ships Tailwind version 4 utility rules, which assumes a Tailwind 4 setup. Plain-text export is not universal: the docs skip it for flow, plot, activity, heatmap, calendar, timer and countdown. The repository is published as mdxcn, while the catalogue name differs, which can make it harder to find.

How to use it well

Pick it for an MDX documentation site, an engineering blog or a changelog page built with React and Tailwind 4, where you want status tables, small charts and release notes that match a monospace look. Install only the items you need and keep the shared frame item in one place. If agents write your docs, point them at the plain-text guide or the skill file first. It does not replace a charting library for interactive or dense data: these are glanceable figures, not exploratory plots.

Technical notes+

package.json marks the project private (no npm publish) and builds the registry with shadcn build before next build. registry.json uses the shadcn registry schema; each item copies the shared frame and motion helpers plus its own component, declares motion as a dependency, and injects oklch CSS variables (--graph-accent, --graph-accent-2, --graph-accent-3) with Tailwind 4 @utility rules for the dashed frame. lib/docs/ascii.ts generates the fenced plain-text examples and lists MDX_SKIP_SLUGS for components without one. lib/agent/openapi.ts defines an OpenAPI 3.1 read-only API with no authentication and a 1000 GET per hour limit. app/skill.md/route.ts serves the agent skill file as static Markdown.

Observed

License
MIT
Language
TypeScript (React components)
Distribution
shadcn registry; source copied into the consuming project, package marked private
Runtime dependency per component
motion
Styling
Tailwind 4 utilities and CSS variables with light and dark values
Rendering
Text glyphs inside a dashed frame, not SVG or canvas
Interfaces
React components for MDX; plain-text fenced export; read-only JSON API with OpenAPI spec; agent skill file
API authentication
None (read-only)

Read from README.md, package.json, components/graphs/index.ts, lib/ascii/index.ts, lib/docs/ascii.ts, lib/docs/catalog.ts, registry.json, app/skill.md/route.ts, lib/agent/openapi.ts, LICENSE.

Similar tools

Browse all tools →

Tags

mdxchartsshadcnasciicomponentsdocs

Tech Stack

Node.jsNext.jsTypeScript

Media

Markdown Graphs

Editorially curated, with community endorsements as a secondary signal. Corrections welcome.