Git Prompt

beste-uigit:(main)
About this piece

Git Prompt

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

Usage

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

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

Terminal Prompt

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

pnpm dlx shadcn@latest add button

Copy Command

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

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

REPL

Interactive prompt showing an evaluated expression and its result.

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

Test Summary

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

Installing dependencies72%

Progress Bar

Monospace install line with a segmented progress meter and percentage.

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.