A very brief overview on how our framework, code app and plugin work. Just to get you started.
First design your stuff. Then it's time to analyze your design and mentally (or on paper) divide them into Containers, Rows and Columns. We use Bootstrap so a basic understanding of how the grid works is very very recommended.
Then you can go two ways: either you do it all by hand (recommended for advanced users) or you use our plugin to create folders containing things like rows, columns, paddings and margins. Our plugin is NOT REQUIRED for this to work, but it will help you in the very beginning speeding up your understanding of how things need to be setup inside of Sketch.
🎓Important! The page (in Sketch) needs to be named Start here and the first artboard needs to be named Start or our code app will not read your .sketchfile correctly.
This step is the most important one. It’s now that you begin giving your Sketch design file the super power of Bootstrap 4 and React without even leaving the document. You are enhancing your design with real code components and the amazing responsive Bootstrap 4 grid.
You add our components in Sketch by using very familiar built in Sketch tools like the Text Node (T), Grouping (⌘+G) and the shapes we support.
Number one rule: You need to name each layer and group with our component names or it will not work at all in code!
👨🏻💻Now comes the really fun part, seeing your static Sketch design file starting to come alive!
If you have done your homework of Step 2, you will see your design file beautifully rendered and fully responsive based on what you have set up.
First you need to signup to our beta program. Once you have downloaded the app you install it like any other Mac app on your computer. After that follow these simple steps to get up and running: 1. Open up our Sketch2React Code App 2. Go to File--->Open (⌘O) 3. Open up the .sketchfile you are working on 4. That same file is now linked with our Code App 5. Happy makings!
All Mac apps that are not certified by Apple that you download from the web or distribute privately (via your own channels) give you a warning the very first time you open them.
Just chill and do like below and happiness will (maybe) come to you.
You been good, now go celebrate this with a great cup of the very best company coffee you can find ☕
⌘O = Link to your .sketchfile ⌥⌘M = Mobile View, opens up a new responsive window with start width 576px ⌘D = Documentation ⌘T = Tutorials ⌘F = Demo files ⌘P = Publications on our blog