Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
S

sketch-constraints

> 设计协作
Open source

A plugin that integrates constraints in Sketch to lay out layers.

1.3K stars0 likes2 views
WebsiteGitHub

About

A plugin that integrates constraints in Sketch to lay out layers.

Sketch Constraints

Sketch Constraints is a plugin that integrates constraints in Sketch to lay out layers. These constraints are relative to the parent, either a group or an artboard.

Constraints are now available natively in Sketch.

Usage

Edit Constraints ⌘ + E

Update Layout ⌘ + L

Example

Watch on Vimeo

Installation

Using Sketch Runner

With Sketch Runner, just go to the install command and search for Sketch Constraints. Runner allows you to manage plugins and do much more to speed up your workflow in Sketch. Download Runner here.

Manually

Make sure you have the latest version of Sketch installed. (Sketch 40+)

  1. Download the ZIP file of this repository
  2. Double click on Sketch Constraints.sketchplugin

Notes

  • Constraints are not relative to other layers, only to the parent.
  • Update Layout updates every artboard of the current page.
  • When a group is resized, all the children layers are resized. If you want a child layer to keep its size, check Width and/or Height.

Inspiration

  • This Medium article from Josh Puckett.
  • Bind from Alasdair Monk.
  • Sketch Flex Layout from Matej Hrescak.

Native

As of Version 44, constraints are available natively in Sketch. It's similar to Sketch Constraints except that the constraints are based on current value only.

License

Sketch Constraints is released under the MIT license. See LICENSE for details.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

JavaScriptartboardsconstraintssketch-plugin

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category设计协作
PricingOpen source

> Related tools

F
Figma
协作式界面设计工具
S
sketch-wakatime
Sketch plugin for automatic time tracking and metrics generated from your Sketch usage.
Q
QuickColor
Quickly apply fills from the global or document color palettes to selected elements - 🎨