{"id":19255269,"url":"https://github.com/catsjuice/masonry-flow","last_synced_at":"2025-07-02T23:33:18.734Z","repository":{"id":249396861,"uuid":"782040514","full_name":"CatsJuice/masonry-flow","owner":"CatsJuice","description":"A React/Vue component to render masonry layout","archived":false,"fork":false,"pushed_at":"2024-07-30T14:26:01.000Z","size":853,"stargazers_count":29,"open_issues_count":2,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-25T03:38:23.481Z","etag":null,"topics":["grid","grid-layout","masonry","masonry-layout"],"latest_commit_sha":null,"homepage":"https://masonry.oooo.so","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CatsJuice.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2024-04-04T14:21:40.000Z","updated_at":"2025-04-21T11:52:21.000Z","dependencies_parsed_at":"2024-07-30T14:39:16.542Z","dependency_job_id":null,"html_url":"https://github.com/CatsJuice/masonry-flow","commit_stats":null,"previous_names":["catsjuice/masonry-flow"],"tags_count":20,"template":false,"template_full_name":null,"purl":"pkg:github/CatsJuice/masonry-flow","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CatsJuice%2Fmasonry-flow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CatsJuice%2Fmasonry-flow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CatsJuice%2Fmasonry-flow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CatsJuice%2Fmasonry-flow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CatsJuice","download_url":"https://codeload.github.com/CatsJuice/masonry-flow/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CatsJuice%2Fmasonry-flow/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262026437,"owners_count":23246928,"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","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":["grid","grid-layout","masonry","masonry-layout"],"created_at":"2024-11-09T18:40:02.771Z","updated_at":"2025-07-02T23:33:18.668Z","avatar_url":"https://github.com/CatsJuice.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Playground\n\n[masonry.oooo.so](https://masonry.oooo.so)\n\n# Install\n\n```\nnpm install masonry-flow\n```\n\n# Usage\n\n## React\n\n```tsx\nimport MasonryFlow from \"masonry-flow/react\";\n\n\u003cMasonryFlow.Root width=\"200,300\" gap={8}\u003e\n  \u003cMasonryFlow.Item style={{ background: \"#f00\" }} height={150}\u003e\n    1\n  \u003c/MasonryFlow.Item\u003e\n  \u003cMasonryFlow.Item style={{ background: \"#0f0\" }} height={120}\u003e\n    2\n  \u003c/MasonryFlow.Item\u003e\n  \u003cMasonryFlow.Item style={{ background: \"#00f\" }} height={140}\u003e\n    3\n  \u003c/MasonryFlow.Item\u003e\n\u003c/MasonryFlow.Root\u003e;\n```\n\n## Vue\n\n```vue\n\u003cscript setup\u003e\nimport { MasonryFlowRoot, MasonryFlowItem } from \"masonry-flow/vue\";\n\u003c/script\u003e\n\n\u003ctemplate\u003e\n  \u003cmasonry-flow-root :width=\"[200, 300]\" :gap=\"8\"\u003e\n    \u003cmasonry-flow-item style=\"background: #f00\" :height=\"150\"\u003e\n      1\n    \u003c/masonry-flow-item\u003e\n    \u003cmasonry-flow-item style=\"background: #0f0\" :height=\"120\"\u003e\n      2\n    \u003c/masonry-flow-item\u003e\n    \u003cmasonry-flow-item style=\"background: #00f\" :height=\"140\"\u003e\n      3\n    \u003c/masonry-flow-item\u003e\n  \u003c/masonry-flow-root\u003e\n\u003c/template\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcatsjuice%2Fmasonry-flow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcatsjuice%2Fmasonry-flow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcatsjuice%2Fmasonry-flow/lists"}