ランキングに戻る

prazzon/Flexbox-Labs

TypeScriptflexboxlabs.netlify.app

A web app for creating flexible layouts with the power of CSS Flexbox.

reactviteframer-motionsasstypescripttypescript-react
スター成長
スター
4k
フォーク
361
週間成長
Issue
5
1k2k3k
2024年5月2025年1月2025年10月2026年7月
成果物npmnpm install flexbox-labs
README

Table of Contents

About

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

Features

  • Live Preview: Preview changes in real-time as you adjust parameters.
  • Playground Customization: Add, delete, or duplicate flex items.
  • Undo and Redo Changes: Easily revert or redo modifications for easy experimentation.
  • Edit Flex Properties: Edit both flex container and individual flex item properties.
  • Save/Load Layouts: Save, load or delete custom layouts.
  • Pre-build Layouts: Load pre-built layouts/templates.
  • Export HTML and CSS Code: Get HTML and CSS code for the generated layout.

Built with

NextJS React TypeScript Sass 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/prazzon/flexbox-labs.git

2. Navigate to the app directory

cd flexbox-labs

3. Install npm dependencies

npm install

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

関連リポジトリ
freeCodeCamp/freeCodeCamp

freeCodeCamp.org's open-source codebase and curriculum. Learn math, programming, and computer science for free.

TypeScriptnpmBSD 3-Clause "New" or "Revised" Licenselearn-to-codenonprofits
contribute.freecodecamp.org
452.4k45.6k
react/react

The library for web and native user interfaces.

JavaScriptnpmMIT Licensejavascriptreact
react.dev
246.7k51.3k
facebook/react

The library for web and native user interfaces.

JavaScriptnpmMIT Licensejavascriptreact
react.dev
233k47.8k
vercel/next.js

The React Framework

JavaScriptnpmMIT Licensereactserver-rendering
nextjs.org
141.1k31.5k
react/react-native

A framework for building native applications using React

C++MIT Licenseandroidapp-framework
reactnative.dev
126.2k25.2k
facebook/react-native

A framework for building native applications using React

C++MIT Licenseandroidapp-framework
reactnative.dev
120.9k24.5k
shadcn-ui/ui

A set of beautifully-designed, accessible components and a code distribution platform. Works with your favorite frameworks. Open Source. Open Code.

TypeScriptnpmMIT Licensecomponentsnextjs
ui.shadcn.com
119.5k9.5k
justjavac/free-programming-books-zh_CN

:books: 免费的计算机编程类中文书籍,欢迎投稿

GNU General Public License v3.0pythonjavascript
weibo.com/justjavac
117.7k28.2k
nextlevelbuilder/ui-ux-pro-max-skill

An AI SKILL that provide design intelligence for building professional UI/UX multiple platforms

PythonPyPIMIT Licenseai-skillsantigravity
uupm.cc
108.6k11.6k
react/create-react-app

Set up a modern web app by running one command.

JavaScriptnpmMIT Licensereactzero-configuration
create-react-app.dev
103.3k26.9k
facebook/create-react-app

Set up a modern web app by running one command.

JavaScriptnpmMIT Licensereactzero-configuration
create-react-app.dev
103.1k27k
ant-design/ant-design

An enterprise-class UI design language and React UI library

TypeScriptnpmMIT Licensereactui-kit
ant.design
98.8k54.7k