⚡ Vite Plugin · Zero Config

Design inspection
for your dev server

Inspect elements, tweak styles, export clean CSS — then paste into your AI chat to apply changes in seconds.

View on GitHub
Terminal
# Step 1 — install
npm install @optate/plugin
 
# Step 2 — run
npx @optate/plugin dev

Click. Edit. Copy. Ship.

Four steps from design idea to code change — without leaving your browser.

1

Inspect any element

Click the crosshair to enter inspect mode. Hover to see element info — tag, size, font, color. Click to select and open the editor.

2

Edit visually

Tweak typography, spacing, colors, borders, and more in the floating editor panel. Changes apply live on the page instantly.

3

Export clean CSS

Optate tracks every change and exports real CSS — grouped by responsive breakpoint. Desktop, tablet, and mobile changes are automatically separated into @media queries.

4

Paste into your AI agent

Copy the changes log with full context — element tag, React component name, CSS selector, and values. Paste into Claude, Cursor, or any AI tool and say "apply these."

Everything you need

Built for the modern AI-assisted development workflow.

🎯

Element Inspector

Click any element to inspect computed styles, dimensions, font details, and computed color values.

✏️

Live Editor

Full style editor with typography, layout, colors, borders, shadows, and transforms — all updated instantly.

💬

Inline Text Edit

Double-click any text element to edit content directly on the page. Changes are tracked and exported.

📐

Gap Measurement

Hover a second element to measure the pixel distance between your selected element and any other.

📱

Responsive Modes

Switch between desktop, tablet, and mobile viewport. Changes are tagged and exported with proper media queries.

Undo / Redo

Full undo and redo support. Step through every change — keyboard shortcuts ⌘Z and ⌘⇧Z.

⚛️

React Component Names

Automatically detects which React component wraps an element — shown in the export for precise AI context.

📤

CSS Export

One-click export of all changes as valid, formatted CSS — ready to paste into your global stylesheet.

🧠

AI Context Log

A structured change log with element context, selectors, and values. Built to be understood by any AI coding tool.

Two commands. Done.

No config file changes. Works with any Vite project — React, Vue, Svelte, Solid.

Step 1 — Install
Terminal
npm install @optate/plugin
Step 2 — Run your dev server
Terminal
npx @optate/plugin dev
# Optate toolbar appears bottom-right. Your vite.config.ts is untouched.

Tip: Add "dev": "optate dev" to your package.json scripts so it replaces vite permanently.

Dev only. Optate never loads in production builds — the toolbar is completely absent when you deploy.

Faster with keys

Every action has a shortcut.

Toggle inspect mode ShiftI
Undo last change Z
Redo ShiftZ
Deselect element Esc
Inline text edit Double-click
Confirm text edit Enter or Blur
Cancel text edit Esc
Show help ?

Design visually.
Apply with AI.

Optate exports changes as a structured context block — element, component, selector, property, old and new value. Paste it into any AI tool and say "apply these changes."

Get started for free →
Claude Cursor Copilot Windsurf Any AI agent