Visual AI UI editing for React Router
Edit the UI of your React Router 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 React Router 7 or 8 apps in framework mode, the mode that runs on the React Router Vite plugin. Previews are live.
Setup#
Run npx guijam@latest init, or add the plugin yourself, before reactRouter():
vite.config.ts
import { reactRouter } from '@react-router/dev/vite';
import tailwindcss from '@tailwindcss/vite';
import { guijam } from 'guijam/vite';
import { defineConfig } from 'vite';
export default defineConfig({
plugins: [guijam(), tailwindcss(), reactRouter()],
});GUIJam adds its client to your app's entry, so there's nothing to add to root.tsx.
Options#
guijam() takes the same options as in any Vite app. See Vite.