Skip to content
v0.1.7 · TypeScript

Buildappsthat feel likemagicin the terminal.

The TypeScript framework for terminal apps. 230 components, routing, global state, theming, animations, and a hot-reload dev server. Built to ship to production.

~/my-app/src/index.tsxTSX
1import { app, text, logView } from '@termuijs/quick';
2 
3// CLI wrapper — displays log output
4const logs: string[] = [
5 'INFO Application started',
6 'INFO Waiting for input...',
7 'DEBUG Press q to quit',
8]
9 
10app('📟 my-app')
11 .rows(
12 text('Command output:'),
13 logView(() => logs),
14 )
15 .keys({ q: 'quit' })
16 .refresh('1s')
17 .run();
npm run dev
⎇ mainTS 5.3Hot Reload
Ln 17UTF-8
0Packages
230Components
0Tests Passing
100%TypeScript
04

Core Features

Tools for building terminal applications, with a developer experience modeled after web frameworks.

TypeScript-First

Full type inference,
end to end.

const Widget<{ label: string }>
const widget = text<{ label: string }>(opts)

Your APIs stay typed across all 15 packages. Autocomplete, generics, and compile-time checks work end to end.

Spring Animations
motion.spring({ stiffness: 260, damping: 20 })

Physics-based
motion.

Spring physics and easing transitions add smooth, natural motion to your terminal UI.

Terminal Style Sheets
.panel {background: $bg-surface;border: 1px solid $accent;}
230 Components
Box
Text
Table
Spinner
Select
Tabs
Modal
Tree
Box
Text
Table
Spinner
Select
Tabs
Modal
Tree
Toast
Form
CommandPalette
ProgressBar
Gauge
TextInput
logView
Divider
Toast
Form
CommandPalette
ProgressBar
Gauge
TextInput
logView
Divider

Box, Text, Table, Spinner, Select, Tabs, Modal, Tree, Toast, Form, and more.

$ls ./packages
0 packages
QUICK START

One command to start building

Scaffold a TermUI project with one command, then run it.

user@machine ~/projects $ 
bunx create-termui-app my-app
Scaffolding project my-app/
TypeScript template applied
15 packages installed
Next: cd my-app && bun run dev
🖥  my-applive
Command output:
INFO  Application started
INFO  Waiting for input ...
DEBUG Press q to quit
Runningrefresh: 1s
SYSTEM INITIALIZEDtermui v0.1.7

Ready toBUILDsomething.

Ship your next terminal app with TermUI. Open source. MIT licensed.

15packages
230components
100%TypeScript
MITlicensed