Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ghost---shadow/speed-flexbox

Generate flexbox boilerplate quickly
https://github.com/ghost---shadow/speed-flexbox

Last synced: about 1 hour ago
JSON representation

Generate flexbox boilerplate quickly

Awesome Lists containing this project

README

        

# Speed Flexbox (early access)

Generate flex-box boilerplate quickly

## Usage

1. Visit the site hosted here
2. Drag and drop an image of the design of your choice onto the canvas

![after drop](./docs/after-drop.png)

3. Slice the image into sections. These will be converted into the DOM hierarchy

![after slicing](./docs/after-slicing.png)

4. Add placeholders (ghosts) for any input fields, or labels or buttons. These will be connected with React states or props

![after ghosts](./docs/after-ghosts.png)

5. Click the code generation tab and select the generation plugin of your choice

![code gen 1](./docs/code-gen1.png)
![code gen 2](./docs/code-gen2.png)

6. Click the `Copy to Clipboard` button and copy the generated code to your file.
7. Rename the variables to human readable names (VSCode: Ctrl + Shift + L)

## Planned features

* More plugins
* More ghosts