tailwind css

Edit Tailwind visually. Ship utility classes.

Backdraft is a visual builder that works with your existing Tailwind project. Import your files, edit on a canvas, and every change writes back as Tailwind utility classes — not inline styles, not generated CSS.

Tailwind CSSTailwind CSS ReactReact TypeScriptTypeScript

the problem

Tailwind is fast to write. Faster to see.

Tailwind's utility-first approach makes CSS faster to write. But you still cannot see the result without switching to a browser. And adjusting responsive classes across breakpoints means juggling sm:, md:, lg: prefixes in your head.

Backdraft puts your Tailwind code on a visual canvas. Select an element, change its padding — and the code updates from p-2 to p-4. Drag to resize — and the width class updates. Toggle a breakpoint — and you see exactly what md:flex-row looks like.

No generated code. No design tokens to sync. Your Tailwind classes are the visual properties.

compatibility

Tailwind v3 and v4. Both work.

Backdraft auto-detects your Tailwind version and loads the right engine.

Tailwind CSS

Tailwind v3

  • CDN with custom tailwind.config.ts injection
  • Full JIT class support
  • Custom theme colors, spacing, fonts
  • Plugin support via config
Tailwind CSS

Tailwind v4

NEW
  • @theme directive for design tokens
  • @custom-variant for custom responsive/state variants
  • @utility for custom utility definitions
  • oklch() color functions
  • Native CSS nesting (no PostCSS needed)
  • Auto-detected via @theme, @utility, or oklch() patterns in your CSS

responsive

See every breakpoint simultaneously.

Most Tailwind tools show one breakpoint at a time. Backdraft shows all of them simultaneously on the canvas — xs through 2xl, side by side.

Select an element at the md breakpoint, change its layout from flex-col to flex-row, and see the result update live. The corresponding md:flex-row class is written back to your code.

No more guessing what lg:grid-cols-3 looks like. You can see it.

xs 320px sm 640px md 768px lg 1024px xl 1280px 2xl 1536px

editing

Edit classes visually. Read them in code.

When you change a visual property on the canvas, Backdraft translates it to the correct Tailwind utility class.

Canvas action Code change
Drag padding slider to 16px p-2 p-4
Pick background color #3B82F6 Adds bg-blue-500
Set font weight to bold Adds font-bold
Set flex-direction: row at md Adds md:flex-row
Set border-radius to 8px Adds rounded-lg
Set gap to 24px gap-4 gap-6

Shorthand consolidation

Backdraft also consolidates shorthand automatically — if you set equal horizontal and vertical padding, px-4 py-4 becomes p-4.

theming

Toggle dark mode on the canvas.

Click the theme toggle and Backdraft sets class="dark" on the <html> element inside the canvas iframe. Every dark: prefixed class activates instantly.

Edit dark mode styles visually — change dark:bg-gray-900 to dark:bg-slate-950 by picking a color — and the class updates in your code. No separate stylesheet. No theme file to sync.

dark: prefix Light mode One-click toggle
Light
Dark

dark:bg-gray-900dark:bg-slate-950

what is different

What most Tailwind tools miss.

They start from templates

Most Tailwind builders give you a component library or template gallery. Backdraft opens the project you already have — your files, your structure, your classes.

They export, not sync

One-way export means editing the code breaks the connection. Backdraft syncs bidirectionally — edit the canvas or the code, changes flow both ways.

They skip React

Most Tailwind visual tools only work with plain HTML. Backdraft handles JSX/TSX with full component resolution, className merging, and children forwarding.

Open your Tailwind project.

See utility classes on a canvas. Edit them visually. Ship the same code.