Unified diff with added and removed lines tinted green and red.
Requires shadcn/ui initialized. Run npx shadcn@latest init if you haven't.
import { Terminal9 } from "@/components/beste/piece/terminal9";
<Terminal9
filename="components/Button.tsx"
lines={[
{
"type": "context",
"text": "function Button({ label }) {"
},
{
"type": "remove",
"text": " return <button>{label}</button>;"
},
{
"type": "add",
"text": " return <button className=\"btn\">{label}</button>;"
},
{
"type": "context",
"text": "}"
}
]}
/>Dark shell line with an emerald prompt, command text, and a blinking block cursor.
Single indeterminate line with a spinner and a cancel hint.
pnpm dlx shadcn@latest add buttonCLI code line with a chevron prefix and a copy button that flips to a check.
npx sirius-cli@latest init
✓ Workspace ready. Open the dashboard to invite your team.
A dark terminal card with traffic-light dots, a prompted command, and a success output line.
Timestamped log lines tagged by level in info, warn, error, and ok colors.
Monospace install line with a segmented progress meter and percentage.