REPL

Interactive prompt showing an evaluated expression and its result.

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

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

Import & use
import { Terminal11 } from "@/components/beste/piece/terminal11";

<Terminal11
  prompt=">"
  expression="[1, 2, 3].map((n) => n * 2)"
  result="[ 2, 4, 6 ]"
/>

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.

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.

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.

beste-uigit:(main)

Git Prompt

terminal8

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

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.

Compiling modules
Bundling assets
Optimizing output
Publishing build

Build Steps

terminal6

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