Skip to content

Component gallery

  1. Toys
  2. Terminal

Primitives

  • Buttons30
  • Badges21
  • Keys4
  • Status8
  • Avatars8
  • Alerts4
  • Cards10
  • Dropdowns4
  • Corner windows3
  • Dialogs7
  • Windows4
  • Taskbar1
  • Launcher1
  • Desk icons1
  • Progress8
  • Scroll cues2

Forms

  • Toggles5
  • Selects3
  • Inputs8
  • Textareas7
  • Segmented controls4
  • Attachments18

Content

  • Quotes5
  • Stats5
  • Heatmap3
  • Icon lists2
  • Masonry2
  • Accordion2
  • Code8
  • Contact methods7

Chat

  • Messages22
  • Posts29

Showcase

  • Media cards4
  • Logos1
  • 88x31s15
  • Carousel3
  • Blueprint frames2
  • Card grids3

Media

  • Figures4
  • Audio player4
  • Media player3
  • Radio5
  • Shorts2

Toys

  • Terminal4
  • Destructor1
  • Status board7

Sections

  • Section3
  • Side hero2
  • Navbar5
  • Footer1
  • Sidebar2

Display

ThemeT
Mode
Mode
M
Style
Style
Y
Spacing
Spacing
Radius
Radius
Font size
Font size
Compare
Compare
Effects
S

ShortcutsAlt+Shift+key

Components

Primitives

  • Buttons30
  • Badges21
  • Keys4
  • Status8
  • Avatars8
  • Alerts4
  • Cards10
  • Dropdowns4
  • Corner windows3
  • Dialogs7
  • Windows4
  • Taskbar1
  • Launcher1
  • Desk icons1
  • Progress8
  • Scroll cues2

Forms

  • Toggles5
  • Selects3
  • Inputs8
  • Textareas7
  • Segmented controls4
  • Attachments18

Content

  • Quotes5
  • Stats5
  • Heatmap3
  • Icon lists2
  • Masonry2
  • Accordion2
  • Code8
  • Contact methods7

Chat

  • Messages22
  • Posts29

Showcase

  • Media cards4
  • Logos1
  • 88x31s15
  • Carousel3
  • Blueprint frames2
  • Card grids3

Media

  • Figures4
  • Audio player4
  • Media player3
  • Radio5
  • Shorts2

Toys

  • Terminal4
  • Destructor1
  • Status board7

Sections

  • Section3
  • Side hero2
  • Navbar5
  • Footer1
  • Sidebar2

Toys · 1 of 3

Terminal

src/components/blocks/terminal/terminal.astro4 stories site only

Preview settings
Width
Preview width
Stage
Stage
default
Props of default
<Terminal entries={[{ command: "whoami", output: "jessew" }, { command: "uname -a", output: "Linux website 7.2.8-2-cachyos #1 SMP PREEMPT_DYNAMIC x86_64 GNU/Linux" }, { command: "ls ~/projects", output: "website\nversia\ndotfiles" }, { command: "cat motd.txt", output: "Welcome! Type a command below.\nTry `help` for a list of commands." }]} />
Open terminal/default on its own
whoami
jessew
uname -a
Linux website 7.2.8-2-cachyos #1 SMP PREEMPT_DYNAMIC x86_64 GNU/Linux
ls ~/projects
website versia dotfiles
cat motd.txt
Welcome! Type a command below. Try `help` for a list of commands.
guest@cpluspatch.com:~$
empty
Props of empty
<Terminal entries={[]} />
Open terminal/empty on its own
guest@cpluspatch.com:~$
interactive
Props of interactive
<Terminal interactive />
Open terminal/interactive on its own
guest@cpluspatch.com:~$
interactive-with-history
Props of interactive-with-history
<Terminal interactive entries={[{ command: "whoami", output: "jessew" }]} />
Open terminal/interactive-with-history on its own
whoami
jessew
guest@cpluspatch.com:~$
PreviousShortsNextDestructor