Data display Snippet

Components

Snippet

A copyable terminal command.

Default

$ npm install buena-mono

Variants

$ cd buena-mono
$ npm run build
https://mrkdwn.buenalabs.io/v/1.2
$ npm install buena-mono
$ buena publish
Build passed in 1.2s
Deprecated flag --legacy
Error: missing glyph U+2192

Top to bottom: a multi-line snippet (array of commands); no prompt (prompt={false}) so URLs and output copy verbatim; an inverted dark surface; a callback firing onCopy; and success / warning / error variants.

Controlled copied state

buena publish --prod

The copied prop drives the checkmark externally — copying from the card above flips the snippet's feedback, so a context trigger can reuse the same animation.

Markdown for agents: /design/snippet.md · spec: /design.md