Short terminal commands with no header: the copy button sits in its own column beside the code, so a one-line command reads as a single row and a long line ends before the button instead of running under it. Use for install instructions or one-liner commands that readers will paste directly.
A dark terminal-style command block: a bash CodeBlock wrapped in SyntaxTheme with the GitHub Dark preset, copy button on, and no line numbers. Use for shell sessions or CLI output that should read as a terminal even on light pages. Reach for a dark syntax preset instead of hand-rolling a dark box with custom CSS.
Inline code rendered inside heading, body, supporting, and label text. Code automatically matches the font size of its parent text element.
A syntax-highlighted TypeScript code block with line numbers, a title bar, and a copy button.
Code surface with view, edit, and terminal modes — Shiki highlighting, dual-theme CSS variables, and chrome presets for docs, chat, and terminal UIs.
Text3 registry deps · 14 packages
An AI code block with a file header, copy, and line collapse.
Display syntax-highlighted code snippets.
Text2 registry deps · 3 packages
Tabbed package-manager code block with npm/pnpm/yarn/bun switcher, syntax-highlighted command output, and a one-click copy button.
Code Block plus the dummy-data fixtures used by the docs-site demo.
A simple code block
A simple code block
A simple code block
Text2 registry deps · 1 package
Code block with filename label and copy button in the header.
Code block header with a copy-to-clipboard button.
Example implementation of code block-dark.
Example implementation of code block.
Code block with lineNumbers enabled on the active snippet.
Multiple files with a header select to switch between snippets.
Plain code display with syntaxHighlighting set to false.
Single TypeScript code snippet with syntax highlighting.
Test coverage dashboard with expandable file tree. Coverage metrics for statements, branches, functions, and lines with color-coded progress bars.
Text4 registry deps · 3 packages
Tailark code-demo variant 1 block
Text5 registry deps · 3 packages
Tailark code-demo variant 2 block
Text1 registry dep · 2 packages
Tailark code-demo variant 3 block
Text5 registry deps · 2 packages