{"id":25107831,"url":"https://github.com/borisgerretzen/squaregridlib","last_synced_at":"2025-10-17T03:22:09.843Z","repository":{"id":203125397,"uuid":"708695063","full_name":"BorisGerretzen/SquareGridLib","owner":"BorisGerretzen","description":"Blazor 2D grid component on which you can place panels of customizable size.","archived":false,"fork":false,"pushed_at":"2023-10-23T19:59:55.000Z","size":260,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-26T23:23:45.584Z","etag":null,"topics":["blazor","dashboard","grid","grid-layout"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BorisGerretzen.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}},"created_at":"2023-10-23T07:45:31.000Z","updated_at":"2023-10-23T18:21:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"b25507eb-4b3d-4f2d-9a7d-87b22496c79a","html_url":"https://github.com/BorisGerretzen/SquareGridLib","commit_stats":{"total_commits":56,"total_committers":1,"mean_commits":56.0,"dds":0.0,"last_synced_commit":"8fd91ac2851f4d4602dd19b5af715f87d81c3cec"},"previous_names":["borisgerretzen/squaregridlib"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BorisGerretzen%2FSquareGridLib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BorisGerretzen%2FSquareGridLib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BorisGerretzen%2FSquareGridLib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BorisGerretzen%2FSquareGridLib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BorisGerretzen","download_url":"https://codeload.github.com/BorisGerretzen/SquareGridLib/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246785428,"owners_count":20833471,"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":["blazor","dashboard","grid","grid-layout"],"created_at":"2025-02-07T23:49:20.861Z","updated_at":"2025-10-17T03:22:04.802Z","avatar_url":"https://github.com/BorisGerretzen.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SquareGridLib\n\n[![NuGet](https://img.shields.io/nuget/v/SquareGridLib.svg)](https://www.nuget.org/packages/SquareGridLib/)\\\nProvides a 2D grid component on which you can place panels of customizable size.\nSimilar to the syncfusion blazor dashboard but simpler.\n\n## How to use\n\nThis short snippet shows the basic functionality of the component:\n\n```html\n\u003cstyle\u003e\n    .my-item {\n        border: 1px solid black;\n    }\n\u003c/style\u003e\n\u003cSquareGrid\u003e\n    \u003cItems\u003e\n        \u003cSquareGridItem\u003e\n            \u003cdiv class=\"my-item\"\u003eThis is a dynamically positioned item.\u003c/div\u003e\n        \u003c/SquareGridItem\u003e\n        \u003cSquareGridItem X=\"3\" Y=\"4\"\u003e\n            \u003cdiv class=\"my-item\"\u003eYou can specify the item's position using 'X' and 'Y'.\u003c/div\u003e\n        \u003c/SquareGridItem\u003e\n        \u003cSquareGridItem Height=\"3\" Width=\"2\" X=\"2\" Y=\"2\"\u003e\n            \u003cdiv class=\"my-item\"\u003eHeight and width can be changed as well.\u003c/div\u003e\n        \u003c/SquareGridItem\u003e\n        \u003cSquareGridItem\u003e\n            \u003cdiv class=\"my-item\"\u003eThis is a dynamically positioned item.\u003c/div\u003e\n        \u003c/SquareGridItem\u003e\n        \u003cSquareGridItem\u003e\n            \u003cdiv class=\"my-item\"\u003eThis is a dynamically positioned item.\u003c/div\u003e\n        \u003c/SquareGridItem\u003e\n    \u003c/Items\u003e\n\u003c/SquareGrid\u003e\n```\n\nThis is what the output looks like, it's very ugly but the structure is what matters.\nElements without a fixed position will flow around the elements that do.\n![image](https://github.com/BorisGerretzen/SquareGridLib/assets/15902678/35af7983-5678-4779-b1b9-1aadd96a264c)\n\nFor more details check out the `SquareGridLibDemo` project, specifically `Pages/Grid.razor`.\n\n## To do\n\n- [ ] Method on the component `void Pack()` that tries to pack all items compactly.\n- [x] Missing something? Open an issue!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborisgerretzen%2Fsquaregridlib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fborisgerretzen%2Fsquaregridlib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fborisgerretzen%2Fsquaregridlib/lists"}