Terminal Gallery.
Explore different configurations, themes, and use cases for the Svelte Bash component. The code snippets are ready to be copy-pasted into your project.
1. The Hacker (Matrix)
Perfect for CTF platforms or cybersecurity portfolios. Notice the typewriter effect typing the welcome message out character-by-character!
<Terminal
theme="matrix"
user="neo"
promptStr="neo@matrix:~$ "
typewriter={true}
welcomeMessage={[
"Wake up, Neo...",
"The Matrix has you..."
]}
/>2. The Dracula Dev
A highly legible, high-contrast theme popular among dark-mode lovers. Notice the autoplay writing commands autonomously.
<Terminal
theme="dracula"
user="dev"
welcomeMessage={["dracula-theme loaded..."]}
autoplay={[
{ command: "echo 'Dracula is elegant'" },
{ command: "ls -la" }
]}
/>3. Boot Logger (Light)
A beautifully clean light theme combining both bootplay (for fast pre-computation logs) and autoplay.
<Terminal
theme="light"
bootSpeed=150
bootplay={[
{ output: "[OK] Loading kernel..." },
{ output: "[OK] Reached target..." }
]}
autoplay={[
{ command: "whoami", output: "root" }
]}
/>4. Output Redirection
Built-in piping behavior. The terminal engine correctly intercepts > and >> to mutate the virtual filesystem.
<Terminal
theme="dark"
welcomeMessage={[
"Type: echo 'hello' > msg.txt"
]}
/>5. ZSH Syntax Highlighting
Just enable syntaxHighlight and the terminal will tokenize input on the fly.
<Terminal
theme="dracula"
syntaxHighlight={true}
/>