Back
Terminal
Satu Visual ComponentNew
A macOS-style terminal window that types its lines out.
Terminal
$
Installation
Add it with the CLI:
Terminal
$
Or open the Code tab above and copy it in manually — it relies on the standard cn() helper from @/lib/utils.
Usage
Feed it an array of lines (command / log / success). It types them out in sequence.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| lines | TerminalLine[] | — | Lines to type; each has { type?, text }. |
| title | string | "Terminal" | Window bar title. |
| typingSpeed | number | 22 | Ms per character. |
| className | string | — | Extra classes. |