A live coding playground for Alpine.js with Tailwind CSS support. Write, test, and share Alpine.js components in real-time with an interactive split-pane interface.
- Live Preview: See your Alpine.js code render instantly as you type
- Code Sharing: Generate shareable URLs with compressed code
- Resizable Panes: Adjust the editor/preview split to your preference
- Tailwind CSS Support: Full Tailwind CSS utility classes available
- One-Click Actions: Copy code, reset to default, and save with URL updates
- Alpine.js 3.x: Lightweight JavaScript framework
- Tailwind CSS: Utility-first CSS framework
- JsonUrl: For URL-safe code compression
- HTML5: Modern web standards
- Visit the playground in your browser
- Write Alpine.js code in the left editor pane
- See live results in the right preview pane
- Use the toolbar buttons:
- Reset: Clear code and start fresh
- Copy: Copy your code to clipboard
- Save: Generate a shareable URL
The playground automatically generates shareable URLs when you click "Save". The code is compressed using JsonUrl's LZMA algorithm and stored in the URL parameter ?s=....
To run this playground locally:
- Clone this repository
- Open
docs/index.htmlin your browser - No build step required - it runs entirely in the browser
