Typeset
Applies the kit's typography to rendered markdown, like chat replies or docs, by mapping elements to components.
Paste this into your agent.
Typeset gives markdown output from react-markdown or Streamdown consistent headings, lists, code blocks, quotes and tables. It copes with streaming answers that grow block by block.
Install
bashnpx shadcn@4.18.0 add @siteplane/typeset
Import it from @/siteplane/components/typeset. The project needs Siteplane UI's one-time setup first: .
When to pick it
- vs : Typeset renders markdown tables with Native Table already; use Native Table directly only for hand-built tables.
- vs : Put Typeset inside a ghost Bubble for an assistant answer.
Rules
- Pass
typesetComponentsto your renderer'scomponentsprop and place the output insideTypeset. - Choose
density="chat"for answers in a thread anddensity="document"for longer standalone reading. - With Streamdown, give its wrapper
className="contents space-y-0"and passstreamingtoTypesetCodeBlockwhile a fence is still open. - Add
remark-gfmto react-markdown if answers contain tables. - Use Typeset only for written prose, not for interface labels in forms or cards.
Reference
Add to your agent
Print this skill from the terminal, or connect the whole catalog over MCP. Setup guides
CLI
MCP server
Questions
Related skills
Better Typographyby jakubkrehel
Web typography from choosing fonts to spacing, wrapping and accessibility. Use when picking or pairing typefaces, configuring variable fonts or OpenType features, setting up a type scale, styling text in components, truncating text, styling underlines, selection, placeholders or carets, or reviewing frontend code for typography. Triggers on typography, fonts, font formats, woff2, variable fonts, font-weight, opentype, font-feature-settings, letter-spacing, line-height, type scale, tabular numbers, text-wrap, truncation, line clamp, underlines, text-decoration, text selection, iOS input zoom, font smoothing, text contrast, measure, line length, text-box, smart punctuation, drop cap.
TypographyExternalGitHub stars: 9.2K
Compact Landingby Danilaa1
Build compact premium landing pages with clear CTA hierarchy, quiet typography, and minimal visual noise.
VisualExternalGitHub stars: 37
Gc Minimal Zine Poster V0 1by LiamGvchi
Generate quiet minimal zine-style editorial poster prompts and matching raster images from themes, moods, objects, photos, or content briefs.
VisualExternalGitHub stars: 7.4K
Optical Alignmentby UI Skillbook
Align interface elements by perceived visual weight, not just mathematical geometry.
Visual