Getting Started
Introduction
shadcn/ui for the terminal — copy-paste Ink components you own.
What is InkUI?
InkUI is a copy-paste terminal component library built on Ink — React for CLIs. Inspired by shadcn/ui, every component you add is copied directly into your project. You own the source. No black-box dependency.
Why InkUI?
Building CLI UIs with Ink is powerful, but repetitive. Every project ends up re-implementing spinners, progress bars, selection menus, and data tables from scratch. InkUI gives you polished, accessible, theme-aware versions of all these — ready to customize.
How it works
- Run
npx inkui add spinnerin your project - The component source lands in
./components/ui/spinner.tsx - Import and use it — you own the code
Key features
- Copy-paste model — own the code, modify anything
- TypeScript first — full type safety, generics for
Table<T>andSelect<T> - Theme system — dark and light themes, every color token customizable
- 15 components — Spinner, Badge, ProgressBar, TextInput, Select, MultiSelect, Table, Dialog, Toast, StatusIndicator, LoadingBar, Confirm, KeyHint, Divider, Header
- One command install —
npx inkui add <component> - Built on Ink — the renderer used by Vercel, Prisma, and Gatsby CLIs