Terminal Window
A highly customizable, authentic-looking terminal component. Supports 8 OS variants (macOS, Windows, Ubuntu, Bash, ZSH, etc) with built-in typing animations, copy-to-clipboard functionality, premium framer-motion physics, and interactive command execution.
ui Premium PlanNew Release
Availability
Included in Premium Plans
This flagship component is part of Future UI's monthly & yearly Premium plans and is not distributed via the free public CLI.
Import
import { Terminal } from "@/components/ui/terminal"
Layout Variant
Color Theme
Named Keys & Props
Pass these exact named keys as props on <Terminal />. Click any color pill to copy the prop.
colorDefault is "default"(Black & White)variantVisual style"windows""powershell""cmd""bash""ubuntu""linux""macos""zsh"shapeCorner shape"default""square""rounded""sharp"spacingInner spacing"default""2x""4x""6x""8x"Usage Example
A basic implementation example to get you started.
Example Implementation
import { Terminal } from"@/components/ui/terminal";
export default function Example() {
return (
<Terminal
variant="macos"
commands={["npm install futureuikit","npx futureuikit add navbar"]}
animated
/>
);
}Features
Key capabilities and highlights.
Key Capabilities
- ◆8 distinct authentic variants: Windows, PowerShell, CMD, Bash, Ubuntu, Linux, macOS, and ZSH.
- ◆Interactive typing mode: Allow users to type and execute commands.
- ◆Built-in framer-motion typing and cursor animations for static modes.
- ◆Auto-adapts to your application's font-mono family.
- ◆Intelligent copy-to-clipboard handling.
- ◆Responsive wrapping and no horizontal overflow issues.
Notes
Important implementation details to consider.
Implementation Details
- ◆Plan: Included in Future UI Monthly & Yearly Premium Plans.
- ◆Variants: Pass the'variant'prop with one of the 8 supported OS environments.
- ◆Animation: Pass the'animated'prop to automatically type out the commands sequentially.
- ◆Interactive: Pass'interactive={true}'and'onCommand={(cmd) => handleCommand(cmd)}'to let users type their own commands.
- ◆Content: Use'commands'(array of strings) to show terminal commands, and'output'(array of strings) for terminal responses.
- ◆Custom Wrapper: You can pass custom'children'to render your own complex terminal content instead of standard commands.