---
title: Solid.js
description: Build terminal UIs with Solid.js and OpenTUI
order: 1
skill:
entry: true
intents: [solid, jsx, signals, hooks, keyboard, animation, testing]
---
# Solid.js bindings
Build terminal user interfaces with Solid.js's fine-grained reactivity and OpenTUI.
## Installation
```bash
bun install solid-js @opentui/solid
```
## Setup
### 1. Configure TypeScript
Add JSX config to `tsconfig.json`:
```json
{
"compilerOptions": {
"jsx": "preserve",
"jsxImportSource": "@opentui/solid"
}
}
```
### 2. Configure Bun
Add preload script to `bunfig.toml`:
```toml
preload = ["@opentui/solid/preload"]
```
### 3. Enable runtime-loaded plugin support (if needed)
If your app loads external TS/TSX modules at runtime (for example a file-based plugin system), import this once in your entry file before dynamic imports:
```ts
import "@opentui/solid/runtime-plugin-support"
```
### 4. Create your app
```tsx
import { render } from "@opentui/solid"
const App = () => Hello, World!
render(App)
```
Run with `bun index.tsx`.
## Components
OpenTUI Solid provides JSX intrinsic elements that map to core renderables.
**Note:** Solid uses snake_case for multi-word component names (e.g., `ascii_font`, `tab_select`).
### Layout & display
- `` - Styled text container
- `` - Layout container with borders
- `` - Scrollable container
- `` - ASCII art text
- `` - Render Markdown content
QR code support is available from `@opentui/qrcode/solid` and must be registered explicitly with `registerQRCode()`.
### Input
- `` - Single-line text input
- `