Live Preview

Preview your generated code instantly with CodeSandbox or DartPad

How It Works

Azyrom provides instant live previews of your generated code using industry-standard online tools. When you click the Preview button, your code is packaged with all necessary configuration files and opened in your browser.

Framework Preview Platform Features
React CodeSandbox TypeScript, Tailwind CSS, framer-motion
Vue CodeSandbox Vue 3, Composition API, Vite, Tailwind CSS
Svelte CodeSandbox Svelte 4, Vite, Tailwind CSS
Vanilla JS CodeSandbox HTML/JS, Tailwind CSS
Flutter DartPad Dart, Material Design widgets

Opening a Preview

  1. Generate code using Make Mode by chatting with AI
  2. Click the Preview button in the header or code panel
  3. Your browser opens with a live, editable preview
  4. Make changes directly in CodeSandbox/DartPad if needed
Tip: The preview opens in a new browser tab. You can edit the code directly there and see changes in real-time.

Preview Features

CodeSandbox (Web Frameworks)

DartPad (Flutter)

Preview Status Indicators

The code panel footer shows the current preview status:

Troubleshooting

Preview not opening: Make sure popups are allowed for CodeSandbox/DartPad in your browser.

Code not compiling: Check the console in CodeSandbox for error messages. The generated code might have syntax issues.

Styles not showing: Tailwind CSS is included automatically. Make sure you're using Tailwind classes correctly.

Flutter preview blank: DartPad requires valid Flutter widget code. Ensure your code returns a Widget.

Alternative: Export Options

If you prefer to work locally instead of using online previews: