# Visual AI UI editing for SolidStart

> Visually edit a SolidStart 2 app with AI on Node 24. Add guijam() before solidStart() for live UI variants and edits that write Solid's class prop.

Edit the UI of your SolidStart app by drawing on the running page. GUIJam previews AI variants from Claude Code, Codex or another AI coding CLI live, and writes the one you keep to your components.

GUIJam works in SolidStart 2, which runs on Vite. Previews are live.

## Requirements

- SolidStart 2, which needs Node 24.
- SolidStart 1 runs on vinxi and isn't supported. Upgrade to SolidStart 2.

## Setup

Run `npx guijam@latest init`, or add the plugin yourself, before `solidStart()`:

```ts title="vite.config.ts" {3,7}
import { solidStart } from '@solidjs/start/config';
import tailwindcss from '@tailwindcss/vite';
import { guijam } from 'guijam/vite';
import { defineConfig } from 'vite';

export default defineConfig({
  plugins: [guijam(), solidStart(), tailwindcss()],
});
```

## Solid specifics

Fine-tune writes Solid's `class` attribute and CSS-named style keys, such as `background-color`, instead of React's `className` and camelCase keys.

## Options

`guijam()` takes the same options as in any Vite app. See [Vite](https://guijam.francistinao.com/docs/frameworks/vite#options).
