Coder Social home page Coder Social logo

sketch-framer's Introduction

Sketch Framer

A plugin to export Sketch.app documents into FramerJS to make interactive prototypes.

Not ready for general consumption yet, but if you're a developer, here's how to get the code and help us make it better.

See https://vimeo.com/67393477 for a sneak peek :)

Installation

  1. Clone the repository. Open Terminal and type:
cd ~/
git clone [email protected]:bomberstudios/sketch-framer.git
  1. Download the Beta version of Sketch
  2. Enable scripting in Sketch by going to Preferences > General and clicking the Enable Scripting button.
  3. In Terminal go to ~/Library/Application\ Support/sketch/Plugins (Create these directories if they don't exist) Note: if you're running the App Store version of Sketch (we suggest the Beta), you should go to this folder instead: ~/Library/Containers/com.bohemiancoding.sketch/Data/Library/Application\ Support/sketch/Plugins
  4. Type ln -s ~/"sketch-framer/sketch-plugin/Sketch Framer" "./Sketch Framer"
  5. Now you should see the option in your Plugins menu.

Plugins menu

Tips

  • Every group in your document will export as individual Framer Views. To have a group flattened so its child groups don't export individually, append * to its name. Example: Card*
  • Every non-group piece of art (for ex. a shape or text layer) will export as a flat image along with its parent group. If you want to turn such a shape into a Framer View, append + to its name. Example: Shape+
  • To ignore a layer, either hide it in Sketch, or append - to its name. Example: Ignored-
  • Multiple artboards work funky. Ideally don't have any artboards in the document, and make sure the top left of all your contents align to (0,0)
  • Masks currently don't work. Workaround: flatten the group that includes a mask (by appending * to its name).

Help us improve Sketch Framer

To propose changes, fork the repository

  1. git checkout -b new-branch-name
  2. Commit and push your changes

Questions?

Reach out to @bomberstudios or @gem_ray on Twitter!

sketch-framer's People

Contributors

bomberstudios avatar nickstamas avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.