Command Run

About this piece

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.

Usage

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

import { Terminal14 } from "@/components/beste/piece/terminal14";

<Terminal14
  command="beste deploy --prod"
  lines={[
    "Building pages",
    "Uploading assets"
  ]}
  success="Deployed in 14s"
/>

More Terminal pieces

View all Terminal
$npx beste-ui@latest init

npx sirius-cli@latest init

✓ Workspace ready. Open the dashboard to invite your team.

$beste deploy --prod
Building application…Uploading assets…Deployed in 4.2s
components/Button.tsx
function Button({ label }) {
return <button>{label}</button>;
return <button className="btn">{label}</button>;
}
pnpm dlx shadcn@latest add button
renders the label
fires onClick
respects disabled state
2 passed1 failed