Git Prompt

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

beste-uigit:(main)

Requires shadcn/ui initialized. Run npx shadcn@latest init if you haven't.

Import & use
import { Terminal8 } from "@/components/beste/piece/terminal8";

<Terminal8
  dir="beste-ui"
  branch="main"
  dirty={true}
/>

More Terminal pieces

View all Terminal
$npx beste-ui@latest init

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

pnpm dlx shadcn@latest add button

Copy Command

terminal2

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

renders the label
fires onClick
respects disabled state
2 passed1 failed1.24s

Test Summary

terminal12

Test run output with pass and fail markers and a totals bar.

>[1, 2, 3].map((n) => n * 2)
[ 2, 4, 6 ]
>

REPL

terminal11

Interactive prompt showing an evaluated expression and its result.

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

Output Window

terminal3

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

Compiling modules
Bundling assets
Optimizing output
Publishing build

Build Steps

terminal6

Stacked task list with done, running, and pending status markers.