R-009 · Open source · 2026
react-native-layout-transfarmer
Author · Open source (MIT)Open source layout scaling library for React Native: design once, scale everywhere.
What I built.
- Scaling: scale, verticalScale and moderateScale helpers and a rotation-aware useLayout hook for foldables and split screen, plus canvas transform maths.
- Footprint and quality: Zero dependencies, under 4 kB, a 95% coverage gate in CI and a live web demo.
Outcome
- Published on npm as version 1.0.0 under the MIT licence.
- Zero dependencies and a coverage gate keep it safe to adopt.