- Releases 17
📐 Responsive Design for Sketch
Auto-Layout is a plugin for Sketch that enables designers to design fully responsive artboards.
- 📍 Pins (Constraints) - Learn more
- 🗄 Stacks (Flexbox) - Learn more
- ⚡️ Updates in real time when dragging layers
- 🖥 Easily generate an overview of all screen sizes
- 💎 Supports Symbols
- 📱 Supports Web/iOS/Android
- 🚀 Export a live, responsive website using Launchpad plugin (included)
📝 Blog posts
🏃🏼 Install with Sketch Runner
- With Sketch Runner, just go to the
installcommand and search for
Auto Layout. Runner allows you to manage plugins and do much more to speed up your workflow in Sketch. Download Runner here.
Installation via Sketch Plugin Manager:
- In the 'Catalog' tab of the Sketch Plugin Manager window, click in the 'Search' field and type 'Auto Layout', to filter the list.
- You will see the 'Auto Layout' plugin listed at the top of the list. Click the 'Instal' button inside it.
Simple pinning allows to pin a layer to its parent with the following:
- Center Horizontally
- Center Vertically
When selecting a pin, Auto-Layout will set the pin constant value as the current pixel value.
For example if a layer is 20px from the right and you select
Pin to Right, the
right pin constant value will be set to 20px.
Once a pin is set, Auto-Layout will enforce the pin value when the artboard is resized.
For example if you pinned a layer to the right by 20px, you can resize the artboard by dragging its right side and you'll notice the layer always stays 20px from the right.
Pin to Parent
Layeris always pinned to its
- A parent can be either an
- Pinning betweein siblins can be achieved using
Layer in an
Layer in a
- To reveal the advanced pinning panel click
- You can pin a layer either by
Pixelsvalues are in the left text boxes,
Percentvalues are in the right text boxes.
- Use the
Togglebutton to select which type of pinning.
Pinning by Pixels
Pinning by Percent
Width & Height
You can set a
height by checking the
When you check the
height box, Auto-Layout will set the current value as the constraint value.
The taken value will be either by
pixels or by
percent, depending on the current toggle state.
Min & Max
You can set the
maximum value of the
width or the
height of a
Once set, the layer
height will never exceed the min/max values, no matter what the
Artboard size is.
To keep the layer pinned to the left rather from the right, set the width to % and uncheck
In some cases you want to extend the height of an artboard further than the default platform screen sizes, in order to show how the design looks when the user scrolls down.
Auto-Layout will automatically recognize artboards that do not have default screen sizes and will never decrease their height to less than their original height.
- A centered
Layeris always centered to its
- A parent can be either an
You can center a layer horizontally to its parent.
You can center a layer vertically to its parent.
What is a Stack?
A Stack is a special type of Group that defines the layout of its child Layers.
A Stack Group icon has a special Blue color and an indicator of its Direction.
How to Stack?
To Stack layers or groups, select them and click the Stack button in Auto-Layout panel.
A Stack has 3 properties:
- Direction: Defines if stacking of child Layers is Horizontal or Vertical.
- Alignment: Can be Top/Center/Bottom/Spread
- Spacing: Defines the spacing between each child Layer.
Defines if stacking of child Layers is Horizontal or Vertical.
Can be Top/Center/Bottom/Spread
Defines the spacing between each child Layer.
Stacks can be nested
Scaling Text Background
Walkthrough Video (29:09) by Pablo Stanley
Walkthrough Video (7:36) by Chris Slowik
Dynamic Buttons Blog Post by Giusè
You can toggle all artboards by clicking the
Orientation toggle button.
Presets are pre-defined
Artboard sizes of real world screen sizes devices.
Once you've defined Auto-Layout on your design, you can easily change
Artboard sizes to these presets.
| Device | Width | Height | Scale | |:---------:|:--------:|:---------:|:-----:| | iPhone 4 | 320 | 480 | 2 | | iPhone SE | 320 | 568 | 2 | | iPhone 7 | 375 | 667 | 2 | | iPhone 7+ | 414 | 736 | 3 | | iPad Air | 768 | 1024 | 2 | | iPad Pro | 1024 | 1366 | 2 |
Scalemeans that the number of pixels is multiplied according to the scale value.**
- For example in iPhone 7 the screen size is 375x667 points, but 750x1334 actual pixels since Scale is 2.
| Device | Width | Height | |:-----------------:|:--------:|:---------:| | Android Phone | 360 | 640 | | Android Tablet 7' | 600 | 960 | | Android Tablet 9' | 768 | 1024 | | Android Desktop | 1280 | 850 |
| Device | Width | Height | |:----------------:|:--------:|:---------:| | Desktop HD | 1440 | 1024 | | Desktop | 1024 | 1024 | | Tablet Portrait | 768 | 1024 | | Mobile Portrait | 320 | 1024 |
The Plugin comes with a default collection of presets mentioned above. However you can easily add, edit, import and export your own presets.
- Click “Platform” -> “Custom”
- The “Presets Editor” shows up, click “Import”
- Navigate and select the collection json file
So you’ve made the effort to create a perfect collection of presets and now your colleagues are jealous. Lucky enough you can become the hero of the day by just exporting your collection and sharing it with them.
Keyboard Shortcuts settings
You can use the
Default shortcuts or assign your own.
Join the discussion
Avg. user activity in the last 30 days
- 12584 downloads all–time
- 41 downloads this week
- 240 downloads this month
About this plugin
AnimaApp published this plugin 3y ago.
v0.11.5 is the latest of 17 releases
Native updates are supported within Sketch.app.