Skip to content

Grove

Code Block

A code panel with a filename, line numbers, marked lines and a copy button; no syntax highlighting.

Live, interactive React component · light themeResponsive

About the Grove Code Block

CodeBlock is a code panel with a filename or language label, optional line numbers, marked lines and a copy button; long lines scroll inside the panel, which is a focusable region named by the filename. Plain text, no highlighting. CopyButton copies any value and announces "Copied". Client component.

It is part of Grove: white cards on sage, pastel chips, pine green. The style’s 135 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.

The same piece, drawn for a different look. Open one to compare it live.

Aeris Code Block

A code panel with a filename, line numbers, marked lines and a copy button; no syntax highlighting.

Bavaria Code Block

A code panel with a filename, line numbers, marked lines and a copy button; no syntax highlighting.

Form & Field Code Block

A code panel with a filename, line numbers, marked lines and a copy button; no syntax highlighting.

Glass Meridian Code Block

A code panel with a filename, line numbers, marked lines and a copy button; no syntax highlighting.

Neo-Brutal Code Block

A code panel with a filename, line numbers, marked lines and a copy button; no syntax highlighting.

Noir Aurora Code Block

A code panel with a filename, line numbers, marked lines and a copy button; no syntax highlighting.

Soft Bento Code Block

A code panel with a filename, line numbers, marked lines and a copy button; no syntax highlighting.

Swiss Tech Mono Code Block

A code panel with a filename, line numbers, marked lines and a copy button; no syntax highlighting.