← ClaudeAtlas

sola-uilisted

Design and build user interfaces with Sola AIR (.sola single-file components and the @sola-air-ui/ui component library), and render a live HTML preview of the design. Use when the user asks for a UI, dashboard, form, portal widget or shell in Sola, or mentions .sola files or @sola-air-ui packages.
Rbm3267/sola-ui-skill · ★ 0 · Web & Frontend · score 72
Install: claude install-skill Rbm3267/sola-ui-skill
# Designing with Sola AIR Sola AIR is a compiler-first UI framework. A `.sola` file holds a component's script, markup and scoped styles; the compiler turns it into plain DOM code driven by signals. `@sola-air-ui/ui` 1.9.2 ships 37 components. The skill checks and previews a design with the `@sola-air-ui/preview` npm package (1.0.0), which brings core, the compiler, the design tokens and those components. npx downloads it from the npm registry the first time. `<skill-dir>` below means the folder this file is in. ## Workflow 1. **Look up the components you need** in `<skill-dir>/reference/components.md`. Use only the components and props listed there. It is generated from the package; anything not in it does not exist. 2. **Write the design as one `.sola` file** (split into several only if asked). Follow the syntax below. 3. **Preview it.** Run: ```bash npx -y @sola-air-ui/preview@1.0.0 design.sola ``` It prints errors as `file:line:col CODE message` and exits 1, or writes `design.preview.html`: one self-contained file with the runtime, design tokens and every component inlined. Fix every error and run it again. Add `--theme dark` for the dark theme, `--preset sola|zinc|compact|graphite` for one of the built-in token presets, `--props '{"title":"Q3"}'` to pass props, or `--check` to check without writing a file. 4. **Show the result.** Give the user the `.sola` source. Then show the preview: where you can render HTML (a Claude artifact, Gemini canvas), rend