soluid
v0.2.4
Published
CLI that installs SolidJS UI components directly into your project — own the code, no runtime dependency
Maintainers
Readme
soluid
CLI that installs SolidJS UI components directly into your project. Own the code, no runtime dependency.
Features
- Rich component set — layout, form, data display, feedback, navigation
- CLI-driven install —
bunx soluid install, no manual copy-paste - Own the code — components live in your repo, fully customizable
- No runtime dependency — zero JS added to your bundle
- Dark mode & density — CSS variable-based theming out of the box
- TypeScript — fully typed props for every component
Usage
No global install required. Run directly:
bunx soluid init # create soluid.config.json interactively
bunx soluid install # download and install components + CSS
bunx soluid add <component...> # add components to config
bunx soluid remove <comp...> # remove components from config
bunx soluid list # list available componentsConfig
soluid.config.json
{
"componentDir": "src/components/ui",
"cssPath": "src/soluid.css",
"components": ["Button", "TextField", "Dialog"]
}cssPath receives all component CSS concatenated into a single file.
Setup
Import CSS in your app entry point:
// src/index.tsx
import "./soluid.css";Theme and density switching:
document.documentElement.setAttribute("data-theme", "dark");
document.documentElement.setAttribute("data-density", "dense");Components
See the full list with live demos at misebox.github.io/soluid.
Development
See DEVELOPMENT.md.
