OpenTUI primitives and editable Recipes for Core, React, and Solid. Install with the shadcn CLI.
See the codeBuild terminal user interfaces with packaged interaction behavior and editable source for OpenTUI Core, React, and Solid. Install Recipes with the official shadcn CLI, then own every presentation decision in your application.

Browse Recipes · Quick start · Explore Primitives · Read the documentation
Recipes are styled Core, React, or Solid source that you copy into an existing OpenTUI application. Choose a runtime and install a Checkbox Recipe:
| Runtime | Command |
|---|---|
| Core | pnpm dlx shadcn@4.13.0 add @tuiparts/core/checkbox |
| React | pnpm dlx shadcn@4.13.0 add @tuiparts/react/checkbox |
| Solid | pnpm dlx shadcn@4.13.0 add @tuiparts/solid/checkbox |
The CLI copies the Recipe and its consumer-owned theme into components/ui
and installs its package dependencies. There is no shadcn project setup or
hidden styling runtime. Change the installed source when you need a different
layout, glyph, token mapping, or public API.
See the Checkbox Recipe in use or browse the complete Catalog.
tuiparts.sh separates terminal UI work by ownership:
Most users should start with a Recipe and reshape it into their house style. Use a Primitive directly when you need its tested behavior without adopting a Recipe's composition or public API.
Behavior is packaged. Presentation is yours.
Read Primitives and Recipes for the layer choice, the product architecture for the deeper model, and the Primitive contract for the public behavior standard.
The Catalog includes editable Recipes for Accordion, Badge, Button, Checkbox, Checkbox Group, Collapsible, Dialog, Input, Number Field, Radio Group, Slider, Switch, Tabs, Textarea, Toggle, and Toggle Group. Every Recipe is available for Core, React, and Solid.
Interactive Recipes build on packaged Primitives. Badge is Recipe-only because it has no reusable interaction behavior. Shared colors, glyphs, borders, and density live in the consumer-owned Theme Recipe.
The Registry guide covers installation,
source ownership, and reviewing upstream changes with the standard shadcn
view, diff, and add lifecycle.
Core owns the framework-neutral behavior. React and Solid adapt the same Stores and Renderables to compound-part APIs. The three Foundation packages version together.
| Package | Purpose |
|---|---|
@tuiparts/core | Framework-neutral Primitive Stores and Renderables |
@tuiparts/react | React compound-part Adapter |
@tuiparts/solid | Solid compound-part Adapter |
To compose Primitives directly, add the Foundation package for your runtime to an existing OpenTUI application:
pnpm add @tuiparts/core
pnpm add @tuiparts/react
pnpm add @tuiparts/solid
React and Solid install @tuiparts/core; the host application owns its OpenTUI
runtime and framework peers. See each package README for exact peer ranges and
usage.
@opentui-ui/dialog and
@opentui-ui/toast are independently versioned Companion
products with higher-level APIs outside the Foundation release line.
The repository uses pnpm and Bun. Versions are pinned in package.json and CI.
pnpm install
pnpm lint
pnpm typecheck
pnpm test
pnpm build
pnpm validate:packages
validate:packages packs the Foundation and changed Companion packages, runs
publint and Are the Types Wrong, installs the tarballs in a clean consumer,
typechecks every exported subpath, and executes representative runtime imports.
tuiparts.sh is an independent project built for OpenTUI. It is not affiliated with or endorsed by the OpenTUI or shadcn projects.
(Pronounced "too-ee parts.")
MIT
TypeScript
84.5%
MDX
9.5%
JavaScript
2.7%
Astro
2.5%
OpenTUI primitives and editable Recipes for Core, React, and Solid. Install with the shadcn CLI.
See the codeBuild terminal user interfaces with packaged interaction behavior and editable source for OpenTUI Core, React, and Solid. Install Recipes with the official shadcn CLI, then own every presentation decision in your application.

Browse Recipes · Quick start · Explore Primitives · Read the documentation
Recipes are styled Core, React, or Solid source that you copy into an existing OpenTUI application. Choose a runtime and install a Checkbox Recipe:
| Runtime | Command |
|---|---|
| Core | pnpm dlx shadcn@4.13.0 add @tuiparts/core/checkbox |
| React | pnpm dlx shadcn@4.13.0 add @tuiparts/react/checkbox |
| Solid | pnpm dlx shadcn@4.13.0 add @tuiparts/solid/checkbox |
The CLI copies the Recipe and its consumer-owned theme into components/ui
and installs its package dependencies. There is no shadcn project setup or
hidden styling runtime. Change the installed source when you need a different
layout, glyph, token mapping, or public API.
See the Checkbox Recipe in use or browse the complete Catalog.
tuiparts.sh separates terminal UI work by ownership:
Most users should start with a Recipe and reshape it into their house style. Use a Primitive directly when you need its tested behavior without adopting a Recipe's composition or public API.
Behavior is packaged. Presentation is yours.
Read Primitives and Recipes for the layer choice, the product architecture for the deeper model, and the Primitive contract for the public behavior standard.
The Catalog includes editable Recipes for Accordion, Badge, Button, Checkbox, Checkbox Group, Collapsible, Dialog, Input, Number Field, Radio Group, Slider, Switch, Tabs, Textarea, Toggle, and Toggle Group. Every Recipe is available for Core, React, and Solid.
Interactive Recipes build on packaged Primitives. Badge is Recipe-only because it has no reusable interaction behavior. Shared colors, glyphs, borders, and density live in the consumer-owned Theme Recipe.
The Registry guide covers installation,
source ownership, and reviewing upstream changes with the standard shadcn
view, diff, and add lifecycle.
Core owns the framework-neutral behavior. React and Solid adapt the same Stores and Renderables to compound-part APIs. The three Foundation packages version together.
| Package | Purpose |
|---|---|
@tuiparts/core | Framework-neutral Primitive Stores and Renderables |
@tuiparts/react | React compound-part Adapter |
@tuiparts/solid | Solid compound-part Adapter |
To compose Primitives directly, add the Foundation package for your runtime to an existing OpenTUI application:
pnpm add @tuiparts/core
pnpm add @tuiparts/react
pnpm add @tuiparts/solid
React and Solid install @tuiparts/core; the host application owns its OpenTUI
runtime and framework peers. See each package README for exact peer ranges and
usage.
@opentui-ui/dialog and
@opentui-ui/toast are independently versioned Companion
products with higher-level APIs outside the Foundation release line.
The repository uses pnpm and Bun. Versions are pinned in package.json and CI.
pnpm install
pnpm lint
pnpm typecheck
pnpm test
pnpm build
pnpm validate:packages
validate:packages packs the Foundation and changed Companion packages, runs
publint and Are the Types Wrong, installs the tarballs in a clean consumer,
typechecks every exported subpath, and executes representative runtime imports.
tuiparts.sh is an independent project built for OpenTUI. It is not affiliated with or endorsed by the OpenTUI or shadcn projects.
(Pronounced "too-ee parts.")
MIT
TypeScript
84.5%
MDX
9.5%
JavaScript
2.7%
Astro
2.5%