Search

Search the site

All blocks
Devtools

Copy Snippet Row 01

Monospace command or URL row with one-click copy.

Install with shadcn CLI
Adds the block files into your project. Run from an app that already has shadcn initialized.
bash
npx shadcn@latest add @tt-ui/copy-snippet-row-01
Preview
Live demo of this block in the browser.

Copy Snippet Row

Monospace command or URL row with one-click copy.

Install command

npx shadcn@latest add copy-snippet-row-01

Run from your project root after configuring components.json.

Registry URL

https://component-lib.example.com/r/copy-snippet-row-01.json

Use this URL with the shadcn CLI registry flag.

Environment variable

NEXT_PUBLIC_API_URL=https://api.example.com/v1

Add to .env.local for local development.

Copy Snippet Row 01