Invalid candidates stay at the last valid position. Neighboring items never get repacked.
A SolidJS layout primitive
A small, deterministic library for rectangular 2D layouts. Snap to structure, block collisions, keep geometry serializable, and let your application own the state.
These items use the Solid Snap components below. Drag them, resize the handles, and try moving one through the other.
Invalid candidates stay at the last valid position. Neighboring items never get repacked.
Persist integers, render percentages, and scale the same layout across any CSS surface size.
Validate layouts and repair generated JSON without needing a browser or a SolidJS runtime.