prazzon / Flexbox-Labs

A web app for creating flexible layouts with the power of CSS Flexbox.
https://flexboxlabs.netlify.app/
MIT License
518 stars 64 forks source link
framer-motion react sass typescript typescript-react vite

Table of Contents

About

Flexbox Labs is a visual tool that helps you create layouts using CSS Flexbox. It offers an intuitive interface that shows changes in real-time, making it easy to experiment and learn.

Features

Built with

React TypeScript Sass vite Framer

FlexLab Screenshot

Usage

Visit the live demo and explore the playground using the toolbar. To customize the flex container, navigate to the Edit tab. Select any item from the playground to modify its individual flex properties. Once satisfied with your layout, click the code button on the tab to get the generated HTML and CSS code.

Live Demo

Check out the live demo of Flexbox Labs: Demo

Getting Started

1. Clone the repository

git clone https://github.com/your-username/flexbox-labs.git

2. Install npm dependencies

npm install

3. Navigate to the app directory

cd flexbox-labs

4. Run the dev server

npm run dev

5. Open the app in your browser

Visit http://localhost:5173 in your browser.

Contributing

You are welcome to contributions to Flexbox Labs! If you'd like to contribute, please follow these steps:

  1. Fork the repository.
  2. Create a new branch: git checkout -b feature/new-feature
  3. Make your changes and commit them: git commit -m 'Add new feature'
  4. Push to the branch: git push origin feature/new-feature
  5. Submit a pull request outlining the changes you've made.
  6. Wait for me to review and merge your pull request

License

Flexbox Labs is licensed under the MIT License.

Feedback

If you have any feedback, suggestions, or issues, please open an issue. Your input is appreciated!

Acknowledgements