Skip to content
mdxcn is now part of Shadcn Labs. details

examples

Six short write-ups, each with two figures, the way you'd use them in a real doc. Copy any of them as MDX, or open a graph's own page to see all of its props.

[ tip ]
Each figure also has a plain-text version on its .md tab. Paste that into Notion or a README and the drawing comes along intact.

refactor

You're moving auth checks out of the route handlers and into middleware. Show the request path before and after, then the plan week by week, with the current week highlighted.

[ AUTH ]
request
handler
session util
request
middleware
handler
flow · request path
[ PLAN ]
  1. w1extract session helper
  2. w2move checks to middleware
  3. w3delete the old util
timeline · rollout plan

incident

Latency spiked, you rolled back a feature flag, and the postmortem isn't written yet. The timeline tells the story, and the uptime strip shows the two days users actually noticed.

[ INCIDENT ]
  1. 14:02p95 crossed 800ms
  2. 14:11rolled back the cache flag
  3. 14:40write the postmortem
timeline · timeline
[ API ]

79%

Aug 14Aug 27

█ up▒ slow· down

79 percent uptime over 14 days, Aug 14 to Aug 27
uptime · uptime strip

pick one

You're choosing between two job queues. Lead with what each one supports, and only add bundle sizes if size is part of the decision.

[ QUEUE ]
BullMQSQS
  • in-process✓–
  • retries✓✓
  • opsredisaws
  • local✓–
compare · feature matrix
[ INSTALL ]
  1. bullmq48 kb
  2. ioredis31 kb
  3. aws sdk120 kb
rank · bundle size

pull request

A pull request summary with the files that changed and how coverage moved. A reviewer should understand the change before opening the diff.

[ FILES ]
  • auth.tsnew
  • session.tsmoved
  • legacy-auth.tsgone
diff · files changed
[ COVERAGE ]
mainthis pr
  • auth4188
  • billing7274
  • docs1140
slope · coverage

this week

A Monday stand-up note. The chart lays out the week's overlapping work, and the counts show what's in review, what's blocked, and what already shipped.

[ THIS WEEK ]
  • rfc
  • patch
  • review
monwedfri
gantt · calendar
[ BOARD ]
  • 4

    in review

  • 2

    blocked

  • 9

    shipped

stat · board counts

migration

A data backfill that's still running. The meter shows how far along it is, and the second figure gives the row count with a sparkline of recent progress.

[ ROWS ]

67%

users table

67 percent users table
meter · job progress
[ MIGRATED ]

1.2M

of 1.8M rows

67%

1.2M of 1.8M rows. 67%
kpi · rows migrated

Want an agent to write figures like these? Read for agents, then install the skill. Every graph, including its plain-text version, is also in a single file at /llms.txt.