New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@opentui/solid

Package Overview
Dependencies
Maintainers
3
Versions
350
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentui/solid

SolidJS renderer for OpenTUI

Source
npmnpm
Version
0.1.11
Version published
Weekly downloads
429K
49.33%
Maintainers
3
Weekly downloads
 
Created
Source

@opentui/solid

Solid.js support for OpenTUI.

Installation

bun install solid-js @opentui/solid

Usage

  • Add jsx config to tsconfig.json:
{
  "compilerOptions": {
    "jsx": "preserve",
    "jsxImportSource": "@opentui/solid"
  }
}
  • Add preload script to bunfig.toml:
preload = ["@opentui/solid/preload"]
  • Add render function to index.tsx:
import { render } from "@opentui/solid"

render(() => <text>Hello, World!</text>)
  • Run with bun index.tsx.

FAQs

Package last updated on 26 Aug 2025

Related posts