flickr/justified-layout
Pass in box sizes and get back sizes and coordinates for a justified layout observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3865
- days_rel: n/a
- days_push: 1093
- n_releases_24m: 0
Adoption not part of the score
1637 stars · 86 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A JavaScript library from Flickr that computes justified gallery layouts: given box sizes or aspect ratios, it returns positions and dimensions for each box. It powers Flickr-style photo grid layouts where rows are evenly justified to a container width.
Use cases
- lay out a photo gallery with justified rows like Flickr
- compute coordinates for image grid from aspect ratios
- avoid widow rows in a justified image layout
- build a responsive masonry-style album page
- calculate container height for a justified grid
When to choose
- you need Flickr-style justified photo layouts with simple geometry output
- you want a small, dependency-free layout calculator you can render yourself
- you need configurable padding, spacing, and target row height
When to avoid
- you need a full gallery UI with lightbox and lazy loading built in
- you want CSS-only layout without JavaScript computation
- you need dynamic re-layout on scroll with virtualization included
Facets
library · maturity maintenance
ui-components graphics web-development frontend photography browser justified-layout photo-gallery layout-algorithm aspect-ratio flickr nodejs javascript
3 sources
- readme: https://github.com/flickr/justified-layout · fetched 2026-08-28 · a96532a25e3a
- homepage: https://flickr.github.io/justified-layout/ · fetched 2026-08-29 · 58a9e6992603
- registry_npm: https://registry.npmjs.org/justified-layout · fetched 2026-08-29 · 01920f9adcce
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| flickr/justified-layout | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="flickr/justified-layout")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem