{"id":21283589,"url":"https://github.com/hellraiserrob/masonry","last_synced_at":"2026-03-19T19:41:13.570Z","repository":{"id":246902581,"uuid":"816350256","full_name":"hellraiserrob/masonry","owner":"hellraiserrob","description":"A Pinterest style masonry library","archived":false,"fork":false,"pushed_at":"2024-07-06T10:01:00.000Z","size":143,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-15T14:42:26.364Z","etag":null,"topics":["layout","masonry","pinterest","vanilla-javascript"],"latest_commit_sha":null,"homepage":"https://hellraiserrob.github.io/masonry/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hellraiserrob.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-17T15:05:41.000Z","updated_at":"2024-07-21T19:45:28.000Z","dependencies_parsed_at":"2024-07-05T20:52:59.369Z","dependency_job_id":null,"html_url":"https://github.com/hellraiserrob/masonry","commit_stats":null,"previous_names":["hellraiserrob/masonry"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hellraiserrob/masonry","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellraiserrob%2Fmasonry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellraiserrob%2Fmasonry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellraiserrob%2Fmasonry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellraiserrob%2Fmasonry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hellraiserrob","download_url":"https://codeload.github.com/hellraiserrob/masonry/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellraiserrob%2Fmasonry/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28183988,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2026-01-03T02:00:06.471Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["layout","masonry","pinterest","vanilla-javascript"],"created_at":"2024-11-21T11:10:18.440Z","updated_at":"2026-01-03T05:02:39.271Z","avatar_url":"https://github.com/hellraiserrob.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Masonry banner](./.github/assets/banner.svg)](https://hellraiserrob.github.io/masonry)\n\n# Masonry\n\nAn example of a beautiful Pinterest style layout library, available for you to take and use as you wish in your projects.\n\n[Demo](https://hellraiserrob.github.io/masonry/)\n\n[![Masonry screenshot](./.github/assets/screenshot.jpg)](https://hellraiserrob.github.io/masonry)\n\n## Features\n\n- Vanilla Typescript\n- Light \u0026 Responsive\n- Use in your projects or as learning material\n\n## Setup\n\nPass a Breakpoint[] to configure the columns and gutter for different breakpoints\n\n|             | Description | Type    | \n| ----------- | ----------- | ------- | \n| thresold    | The pixel \u003e= this should apply to  | number |\n| columns    | The number of columns  | number |\n| gutter    | The pixel gap between the cards  | number |\n\ne.g.\n\n```javascript\nconst options:Breakpoint[] = [\n  {\n    threshold: 0,\n    columns: 1,\n    gutter: 32,\n  },\n  {\n    threshold: 600,\n    columns: 3,\n    gutter: 32,\n  },\n  {\n    threshold: 1000,\n    columns: 4,\n    gutter: 32,\n  }\n];\n\nsetup(options)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhellraiserrob%2Fmasonry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhellraiserrob%2Fmasonry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhellraiserrob%2Fmasonry/lists"}