The editor needs two things in your app: the plugin, in your dev server, and the
<ThemeEditor /> component. Both come from @slabui/theme-react.
Before you start
The editor runs in a Next.js (App Router) or Vite app with React 19 and Tailwind CSS v4:
- No app yet? Create a project with Next.js or Vite.
- Set it up with
slabui init. The plugin readsslabui.jsonto find your theme.
Choose your framework
Follow the guide for your framework.