Terminal

A mac style terminal component with bash syntax highlighting and typewriter effect.

Manus-Macbook — bash

Installation

Run the following command

npx shadcn@latest add @aceternity/terminal

Add sound file

Download the sound file and place it in your public/sounds/ folder:

  • sound.ogg - Audio sprite file containing all key sounds

Props

PropTypeDefaultDescription
commandsstring[]-Array of commands to type out sequentially
outputsRecord<number, string[]>{}Output lines for each command (keyed by index)
usernamestring"user"Username shown in the prompt
classNamestring-Additional CSS classes for the container
typingSpeednumber50Typing speed in milliseconds per character
delayBetweenCommandsnumber800Delay between commands in milliseconds
initialDelaynumber500Initial delay before typing starts
enableSoundbooleantrueEnable keyboard sound effects on key press

Notes

  • Sound requires /sounds/sound.ogg file in the public folder
  • Animation triggers when the component enters the viewport
  • Includes bash syntax highlighting for commands, flags, paths, and more
  • Auto-scrolls to show new content as commands execute

Build websites faster and 10x better than your competitors with

Aceternity UI Pro

Next.js 15, Tailwind CSS v4 and Motion for react powered templates

200+ templates and blocks combined

Ready to copy paste component blocks, save days of development time

Aceternity UI Pro Demo - Light Mode

Access an ever-growing collection of premium, meticulously crafted templates and Component Blocks.

A product by Aceternity
Building in public at @mannupaaji

© 2026 Aceternity Labs LLC. All Rights Reserved.