Aeris Code Block
A code panel with a filename, line numbers, marked lines and a copy button; no syntax highlighting.
A code panel with a filename, line numbers, marked lines and a copy button; no syntax highlighting.
CodeBlock is code on a hairline panel with 8 px corners that follows the theme (white on chalk, the dark surface at night): a head with the filename or language and a copy button, optional line numbers, and marked lines on a pale wash behind an accent edge. The code is plain text in the mono face (no highlighting); long lines scroll inside the panel, which is a focusable region named by the filename. CopyButton copies any value and announces "Copied"; iconOnly makes it a round icon button. Client component. In a custom grid, give the grid grid-cols-1 (or the cell min-w-0), or on phones the column grows to the longest line and the page scrolls sideways.
It is part of Bavaria: chalk pages, architectural photos, sage and forest green. The style’s 93 pieces share one set of tokens, type and motion, in a light and a dark theme, so whatever you take from it fits together.
To put it in your project, copy the prompt into Claude Code, OpenAI Codex or Cursor, or add it by hand. The documentation walks through both.
A code panel with a filename, line numbers, marked lines and a copy button; no syntax highlighting.
A code panel with a filename, line numbers, marked lines and a copy button; no syntax highlighting.
A code panel with a filename, line numbers, marked lines and a copy button; no syntax highlighting.
A code panel with a filename, line numbers, marked lines and a copy button; no syntax highlighting.
A code panel with a filename, line numbers, marked lines and a copy button; no syntax highlighting.
A code panel with a filename, line numbers, marked lines and a copy button; no syntax highlighting.
A code panel with a filename, line numbers, marked lines and a copy button; no syntax highlighting.
A code panel with a filename, line numbers, marked lines and a copy button; no syntax highlighting.