Copy Command

pnpm dlx shadcn@latest add button
About this piece

Copy Command

CLI code line with a chevron prefix and a copy button that flips to a check.

Usage

The import and the props worth knowing about, in one place.

import { Terminal2 } from "@/components/beste/piece/terminal2";

<Terminal2
  command="pnpm dlx shadcn@latest add button"
/>

More Terminal pieces

View all Terminal
$npm install beste-ui

Install Tabs

Package manager tabs that swap the install command, with a copy button.

$npx beste-ui@latest init

Terminal Prompt

Dark shell line with an emerald prompt, command text, and a blinking block cursor.

deploy
$beste deploy --prod
Building application…Uploading assets…Deployed in 4.2s

Output Window

Window-chrome shell showing a command and its output ending in a success line.

Installing packagesctrl-c to cancel

Loading Line

Single indeterminate line with a spinner and a cancel hint.

Command Run

Dark terminal that types a command after the prompt, prints its output line by line up to a green success line behind a blinking block cursor, then clears and runs again.

beste-uigit:(main)

Git Prompt

Shell prompt with a git branch segment and a clean or dirty status marker.