mdxcn

mdxcn is a free, open-source set of callouts, steps, terminals, charts, and timelines for mdx. copy any component with the shadcn cli.

#ItemInstall
1
graph-frame

Dashed ASCII frame, title, corners, and motion helpers.

2
callout

Note, tip, warning, or danger between paragraphs. Markdown children.

3
quote

A pull quote with attribution. Markdown children.

4
steps

Numbered procedure. Each Step has a title and Markdown body.

5
terminal

A shell session. $ lines are commands, the rest is output.

6
changelog

One release. Change children marked add, change, fix, or remove.

7
annotate

Code with numbered notes. A fence with // (1) markers, then an ordered list.

8
decision

One decision and the options next to it. Bold is chosen, italic is rejected.

9
chat

A conversation. `- you: …` / `- agent: …`. Your turns get the prompt.

10
env

Environment variables from a .env fence. Comments describe, `required` marks.

11
endpoint

One API route. Method and path, a params table, request and response fences.

12
keys

Keyboard shortcuts as keycaps. `- ⌘K: search`.

13
faq

Questions and answers. `### Question`, then the answer in Markdown.

14
mdx

withMdxcn for mdx-components.tsx. GitHub alerts become Callout, a byline makes a Quote, console fences become Terminal, footnotes get a frame, and overridden tags still parse.

15
graph-table

Framed data table with optional footer totals.

16
graph-sheet

Grouped table with section titles.

17
graph-flow

Typed process diagram with dashed arrows.

18
graph-bars

Before/after bar comparison with a processor in the middle.

19
graph-rank

A list of labels with a bar of characters and a number on the right.

20
graph-cells

Filled and empty cell grids for comparing density.