Terminal
Styled terminal output
Display command line output with syntax highlighting.
Usage
Terminal
$npm install fromsrc
added 42 packages in 2s
Custom title
bash
$git status
On branch main
Custom prompt
Terminal
>.exit
Typed animation
Animate text appearing character by character:
Terminal
$
Props
Terminal
| prop | type | default | description |
|---|---|---|---|
| title | string | "Terminal" | Window title |
| children | ReactNode | - | Content |
Line
| prop | type | default | description |
|---|---|---|---|
| prompt | string | "$" | Prompt character |
| children | ReactNode | - | Command text |
Output
| prop | type | default | description |
|---|---|---|---|
| children | ReactNode | - | Output text |
Typed
| prop | type | default | description |
|---|---|---|---|
| text | string | - | Text to animate |
| speed | number | 50 | Ms per character |