A Fun Terminal
For Your Website
Add an interactive terminal easter egg to your portfolio or website. Fully customizable themes, commands, and behaviors.
npm install one-terminalEverything You Need
A feature-rich terminal component that's easy to integrate and customize for any project.
Fully Themeable
Customize colors, fonts, and styles to match your brand. Supports custom CSS variables.
Built-in Commands
Ships with essential commands like help, cd, ls, cat, pwd, echo, and clear out of the box.
Window Chrome Options
Choose between macOS, Windows, Linux styles, or no chrome at all.
Customizable Cursor
Block, underline, or beam cursor styles with optional blinking animation.
Add Custom Commands
Easily extend with your own commands. Full TypeScript support included.
Lightweight & Fast
Zero dependencies, tree-shakeable, and optimized for performance.
Built-in Commands
Everything you need for a realistic terminal experience, ready to use out of the box.
Highly Customizable
Personalize every aspect of the terminal to match your design. Try it below!
Open Source MIT Component
one-terminal is licensed under an MIT License and it can be used everywhere for free. Contribution and feedback are always welcome in the one-terminal repository. Go leave me a star there!
Open GitHub1Install
npm install one-terminal2Usage
1import { Terminal } from "one-terminal";2 3// Define your virtual file system4const vfs = {5 kind: "directory",6 entries: {7 "readme.txt": {8 kind: "file",9 fileType: "text",10 content: "Welcome to One Terminal 👋",11 },12 },13} as const;14 15export default function App() {16 return <Terminal fileStructure={vfs} />;17}Quick Start
Get up and running in minutes. The only required prop is fileStructure which defines your virtual file system.
Learn more usage cases and explore advanced configurations in the full documentation.
View Documentation