{"id":18786904,"url":"https://github.com/kitze/mantine-layout-components","last_synced_at":"2025-07-15T01:04:13.371Z","repository":{"id":185013626,"uuid":"653572876","full_name":"kitze/mantine-layout-components","owner":"kitze","description":"Horizontal, Vertical, and Grid components for Mantine","archived":false,"fork":false,"pushed_at":"2024-06-06T05:47:38.000Z","size":210,"stargazers_count":16,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-17T23:16:13.230Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/kitze.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":"2023-06-14T10:04:02.000Z","updated_at":"2025-04-09T10:25:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"e70fc3bf-2248-4e20-8cbc-5a1810d2eae1","html_url":"https://github.com/kitze/mantine-layout-components","commit_stats":null,"previous_names":["kitze/mantine-layout-components"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kitze/mantine-layout-components","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitze%2Fmantine-layout-components","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitze%2Fmantine-layout-components/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitze%2Fmantine-layout-components/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitze%2Fmantine-layout-components/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kitze","download_url":"https://codeload.github.com/kitze/mantine-layout-components/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitze%2Fmantine-layout-components/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265382654,"owners_count":23756397,"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":[],"created_at":"2024-11-07T20:52:57.019Z","updated_at":"2025-07-15T01:04:13.336Z","avatar_url":"https://github.com/kitze.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mantine Layout Components\n\nMantine Layout Components is a collection of React components for creating horizontal and vertical layouts easily.\n\nBuilt on top of Mantine's [Group](https://mantine.dev/core/group/) and [Stack](https://mantine.dev/core/stack/).\n\n## Installation\n\nYou can install `mantine-layout-components` via `npm` or `yarn`:\n\nnpm:\n\n```bash\nnpm install mantine-layout-components\n```\n\nyarn:\n\n```bash\nyarn add mantine-layout-components\n```\n\n## Usage\n\nFor a complete list of props and behaviors, please refer to the [stories components](./stories/).\n\n### Horizontal Layout Component\n\nThe Horizontal component allows you to create a horizontal flows for your elements.\n\n```tsx\nimport React from 'react';\nimport { Horizontal } from 'mantine-layout-components';\n\nconst MyComponent = () =\u003e {\n  return (\n    \u003cHorizontal\u003e\n      \u003cdiv\u003eElement 1\u003c/div\u003e\n      \u003cdiv\u003eElement 2\u003c/div\u003e\n      {/* Add more elements here */}\n    \u003c/Horizontal\u003e\n  );\n};\n```\n\n### Vertical Layout Component\n\nThe Vertical component allows you to create a vertical flows for your elements.\n\n```tsx\nimport React from 'react';\nimport { Vertical } from 'mantine-layout-components';\n\nconst MyComponent = () =\u003e {\n  return (\n    \u003cVertical\u003e\n      \u003cdiv\u003eElement 1\u003c/div\u003e\n      \u003cdiv\u003eElement 2\u003c/div\u003e\n      {/* Add more elements here */}\n    \u003c/Vertical\u003e\n  );\n};\n```\n\n### Debugging\n\nFor debugging purposes, you can add `debug` prop to any component to see its boundaries.\n\n```tsx\nimport React from 'react';\n\nconst MyComponent = () =\u003e {\n    \u003cVertical debug\u003e\n      \u003cdiv\u003eElement 1\u003c/div\u003e\n      \u003cdiv\u003eElement 2\u003c/div\u003e\n      {/* Add more elements here */}\n    \u003c/Vertical\u003e\n  );\n};\n```\n\n### Full width and height\n\nYou can make any component full width or full height by adding `fullW` or `fullH` props.\n\n```tsx\nimport React from 'react';\n\nconst MyComponentFullW = () =\u003e {\n    \u003cVertical fullW\u003e\n      \u003cdiv\u003eElement 1\u003c/div\u003e\n      \u003cdiv\u003eElement 2\u003c/div\u003e\n      {/* Add more elements here */}\n    \u003c/Vertical\u003e\n  );\n};\n\nconst MyComponentFullH = () =\u003e {\n    \u003cVertical fullH\u003e\n      \u003cdiv\u003eElement 1\u003c/div\u003e\n      \u003cdiv\u003eElement 2\u003c/div\u003e\n      {/* Add more elements here */}\n    \u003c/Vertical\u003e\n  );\n};\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkitze%2Fmantine-layout-components","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkitze%2Fmantine-layout-components","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkitze%2Fmantine-layout-components/lists"}