SG
Components

Terminal

A macOS-style terminal that types commands and prints their output, on a loop.

animation
~/portfolio

❯

Features

  • Types each command with slightly random timing, so it feels human.
  • Prints output after a short pause, then moves to the next line.
  • Loops or stops after the last command.
  • Auto-scrolls as new lines appear.

Why I built this

I spend most of my day in a terminal, and a lot of my side projects are CLIs and TUIs (PortMan, Termin API, commit-it).

Showing a command run is a faster way to explain a tool than a paragraph of text, so I built a terminal I can drop into any page.

Sidd

Usage

example.tsx
<Terminal lines={[{ command: "bun run dev", output: ["ready"] }]} />