A modern, interactive web application for generating and visualizing CSS layouts using Flexbox and Grid. Built with React, TypeScript, and Tailwind CSS.
- Interactive Layout Generation: Create and visualize CSS layouts in real-time
- Dual Layout Systems: Support for both Flexbox and Grid layouts
- Responsive Preview: View your layouts in different screen sizes
- Code Export: Export your layouts as clean, production-ready CSS code
- Undo/Redo: History tracking for all layout changes
- Modern UI: Clean, intuitive interface built with Tailwind CSS
- Real-time Preview: See changes instantly as you modify properties
- Frontend: React 18, TypeScript
- Styling: Tailwind CSS
- State Management: React Context
- Routing: Wouter
- UI Components: Radix UI
- Build Tool: Vite
- Animation: Framer Motion
-
Clone the repository
git clone https://github.com/daveyhert/flexgrid-studio.git cd flexgrid-studio -
Install dependencies
npm install
-
Start the development server
npm run dev
-
Open your browser Visit
http://localhost:5173to see the application in action.
- Choose between Flexbox or Grid layout using the toggle in the header
- Use the control panel to adjust layout properties
- Add or remove items to your layout
- Preview your layout in different screen sizes
- Export your CSS code when ready
- Display
- Flex Direction
- Justify Content
- Align Items
- Flex Wrap
- Gap
- Grid Template Columns
- Grid Template Rows
- Gap
- Justify Items
- Align Items
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Radix UI for accessible UI components
- Tailwind CSS for utility-first CSS
- Framer Motion for smooth animations
- Wouter for lightweight routing
If you find this project helpful, please consider giving it a ⭐️ on GitHub!
For any questions, suggestions, feel free to reach out:
- GitHub: @daveyhert
- Twitter: @daveyhert
- LinkedIn: Davey Hert
