{"id":21075510,"url":"https://github.com/ribbinpo/react-shape-layout","last_synced_at":"2026-05-04T10:42:11.639Z","repository":{"id":188969928,"uuid":"679781655","full_name":"ribbinpo/react-shape-layout","owner":"ribbinpo","description":"A versatile React library simplifying component arrangement in circles and various shapes for stunning UI designs.","archived":false,"fork":false,"pushed_at":"2023-08-28T03:03:51.000Z","size":13575,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-23T05:47:27.538Z","etag":null,"topics":["node-package","poc","reactjs"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/react-shape-layout","language":"TypeScript","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/ribbinpo.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":"2023-08-17T15:50:15.000Z","updated_at":"2024-05-10T20:02:16.000Z","dependencies_parsed_at":"2023-08-17T18:00:54.678Z","dependency_job_id":"3235057d-59c3-4478-ba17-80d4af47745a","html_url":"https://github.com/ribbinpo/react-shape-layout","commit_stats":null,"previous_names":["ribbinpo/react-shape-layout"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ribbinpo%2Freact-shape-layout","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ribbinpo%2Freact-shape-layout/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ribbinpo%2Freact-shape-layout/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ribbinpo%2Freact-shape-layout/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ribbinpo","download_url":"https://codeload.github.com/ribbinpo/react-shape-layout/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243521185,"owners_count":20304183,"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":["node-package","poc","reactjs"],"created_at":"2024-11-19T19:23:29.595Z","updated_at":"2025-12-30T15:58:18.318Z","avatar_url":"https://github.com/ribbinpo.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React-Shape-Layout\n\nReact-Shape-Layout is a versatile React library that simplifies the process of arranging components in various shapes, with a primary emphasis on circular layouts. Whether you're designing captivating\nvisualizations, unique user interfaces, or engaging animations, React-Shape-Layout provides a powerful toolset to streamline the process while seamlessly integrating with your React projects.\n\n![React-Shape-Layout Demo](demo.gif)\n\n## Table of Contents\n\n- [Features](#features)\n- [Installation](#installation)\n- [Usage](#usage)\n  - [CircleLayout](#circlelayout)\n- [Documentation](#documentation)\n- [Examples](#examples)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Features\n\n- **CircleLayout:** Arrange React components in a circular layout with customizable radius, spacing, and alignment options.\n- **PolygonLayout:** Create polygonal arrangements by specifying the number of sides, allowing you to achieve unique designs.\n- **Fine-tuning:** Adjust the position, spacing, and alignment of components for pixel-perfect designs.\n- **Responsive:** Create responsive designs by utilizing React-Shape-Layout within media queries or dynamic contexts.\n- **Intuitive API:** The library provides a straightforward and React-friendly API, making integration seamless.\n- **Limitless Creativity:** Experiment with a wide range of shapes, layouts, and design possibilities.\n\n## Installation\n\nYou can install React-Shape-Layout using npm or yarn:\n\n```bash\nnpm install react-shape-layout\n```\n\nor\n\n```bash\nyarn add react-shape-layout\n```\n\n## Usage\n\n### CircleLayout\n\nArrange components in a circular layout:\n\n```js\nimport React from 'react';\nimport { CircleLayout } from 'react-shape-layout';\nimport 'react-shape-layout/dist/cjs/index.css';\n\nconst MyCircularComponent = () =\u003e {\n  return (\n    \u003cCircleLayout radius={150}\u003e\n      \u003cdiv\u003eItem 1\u003c/div\u003e\n      \u003cdiv\u003eItem 2\u003c/div\u003e\n      \u003cdiv\u003eItem 3\u003c/div\u003e\n    \u003c/CircleLayout\u003e\n  );\n};\n\nexport default MyCircularComponent;\n```\n\n## Documentation\n\nFor detailed usage instructions, API documentation, and advanced examples, please refer to the official documentation.\n\n## Examples\n\nExplore a variety of usage examples in the examples directory of this repository.\n\n## Contributing\n\nContributions are welcome! Feel free to open an issue or submit a pull request.\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fribbinpo%2Freact-shape-layout","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fribbinpo%2Freact-shape-layout","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fribbinpo%2Freact-shape-layout/lists"}