@wire-dsl/web
v0.0.8
Published
WireDSL Web - Live editor with React and Monaco
Readme
@wire-dsl/web
Live editor and renderer for Wire-DSL. Create and preview interactive wireframes in real-time with a modern web-based interface.
Installation
npm install @wire-dsl/webFeatures
- 🎨 Live Editor - Real-time syntax highlighting and validation
- 👁️ Live Preview - Instant preview of wireframe changes
- 💾 Auto-save - Automatic state persistence
- 📱 Responsive - Works on desktop and tablets
- ⚡ Fast - Powered by Vite for instant HMR
- 🎯 Intuitive UI - Monaco editor with Wire-DSL syntax support
Getting Started
Development
cd packages/web
npm install
npm run devThe editor will be available at http://localhost:5173
Production Build
npm run build
npm run previewUsage
The Web editor is designed for interactive development of .wire files:
- Write your wireframe definition in the editor (left panel)
- See the live preview update instantly (right panel)
- Export your wireframe as HTML, JSON, or components
- Share your designs with team members
Editor Features
- Syntax Highlighting - Wire-DSL language support
- Error Messages - Real-time validation feedback
- Code Completion - Smart suggestions and snippets
- Theme Support - Light and dark modes
- Export Options - HTML, JSON, React components
Technology Stack
- React 19 - Modern UI framework
- Vite 7 - Fast build tool
- Monaco Editor - Powerful code editor
- Tailwind CSS - Utility-first styling
- Zustand - Lightweight state management
- TypeScript - Type-safe development
Documentation
License
MIT
