SnapKit/SnapKit
Some data may be outdated — see provenance labels.
A Swift Autolayout DSL for iOS & OS X observed · 2026-09-29
Health v2 · maintenance only
74/100
- Activity 84
- Release rhythm 47
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4520
- days_rel: 142
- days_push: 99
- n_releases_24m: 1
Adoption not part of the score
20347 stars · 2044 forks observed · 2026-09-29
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
SnapKit is a Swift DSL that makes Auto Layout constraint creation simple and expressive on iOS, macOS, and tvOS. It provides a type-safe, chainable syntax for building layout constraints with minimal code.
Use cases
- lay out UIKit views programmatically without Interface Builder
- define Auto Layout constraints with concise readable Swift code
- center and size views relative to their superview
- replace verbose NSLayoutConstraint boilerplate in view controllers
- build responsive iOS layouts in code
When to choose
- you build UIKit views programmatically and want readable constraint code
- you want a mature, widely adopted Swift layout DSL with MIT licensing
- you need type-safe constraints that catch errors at compile time
When to avoid
- you use SwiftUI exclusively and don't need UIKit Auto Layout
- you prefer building all layouts in Interface Builder or storyboards
- your project targets platforms below iOS 14 / macOS 12
Facets
library · maturity stable
ui-components developer-tools mobile-development cross-platform developer-tools autolayout dsl constraints layout cocoapods swift-package-manager uikit ios macos swift mobile
2 sources
- readme: https://github.com/SnapKit/SnapKit · fetched 2026-09-29 · 353e65073603
- homepage: https://snapkit.github.io/SnapKit/ · fetched 2026-10-05 · 1ded41130216
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| SnapKit/SnapKit | main | 74 |
For agents
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem