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}
  bordered={false}
/>

More Terminal pieces

View all Terminal
$npx beste-ui@latest init
pnpm dlx shadcn@latest add button
renders the label
fires onClick
respects disabled state
2 passed1 failed
>[1, 2, 3].map((n) => n * 2)
[ 2, 4, 6 ]
>
$beste deploy --prod
Building application…Uploading assets…Deployed in 4.2s