Simple scritp to create layers as margins
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
marginbox.sketchplugin/Contents Add reflow option Mar 16, 2017
.eslintrc Small refactor Feb 4, 2017


Simple script to create layers as margins


Download and double click in marginbox.sketchplugin

How to use

With one or multiples groups (with margin data) selected execute the plugin or press cmd+shift+m

How to add margin data

The format of margin is like css:

  • top-right-bottom-left (all)
  • top right bottom left
  • top/bottom left/right

To assign specifics margin sides add the letters T, R, B or L before the value.


Some Group Name : 24 (all)

Some Group Name : 16 32 64 32 (top right bottom left)

Some Group Name : 64 8 (top/bottom left/right)

Some Group Name : T8 R16 (top right)