Interface Kit
Interface Kit is a development-only visual design overlay for editing React app styles directly in the browser.
Before editing, read the shared dev-overlay rules in ../dev-overlays.md.
Steps
Check
package.jsonforinterface-kit.Search
src/,app/, andpages/for existingInterfaceKitimports or<InterfaceKitusage. If already configured, report that and stop.Install as a dev dependency:
bun add -d interface-kitCreate or update
src/components/DevTools.tsx:"use client"; import dynamic from "next/dynamic"; const InterfaceKit = dynamic( () => import("interface-kit/react").then((mod) => ({ default: mod.InterfaceKit })), { ssr: false }, ); export function DevTools() { if (process.env.NODE_ENV !== "development") return null; return <InterfaceKit />; }Mount
<DevTools />as a sibling of{children}in the app shell.Run the development app and confirm the overlay appears.
Run the production build and confirm Interface Kit does not ship.
Notes
- Add as a sibling to children, never as a wrapper.
- Works alongside Agentation and DialKit in
DevTools.tsx. - Use for browser-side visual style editing; use
dialkitfor explicit control panels and spring tuning.