{"schemaVersion":1,"id":"react-grid-layout","name":"React Grid Layout","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/react-grid-layout/","officialUrl":"https://github.com/react-grid-layout/react-grid-layout","isCatalog":false,"description":"A draggable and resizable React grid with responsive layouts: useful for user-customizable panels and dashboard builders.","tasks":["Build a dashboard grid that users can rearrange","Connect dragging/resizing to saving the user's layout"],"categoryIds":["frontend","design"],"subcategoryIds":["frontend.components","design.systems","frontend.tables"],"tags":["React Grid Layout","UI","Development"],"aliases":["react-grid-layout/react-grid-layout","react-grid-layout","react-grid","react-draggable-grid"],"platforms":[],"stack":[],"compatibility":null,"pricing":"free","freeUsage":"Code and local use under MIT.","paidUsage":"Computing resources, self-hosting, and external services are paid for separately if used.","license":"MIT for the code; dependencies have separate licenses.","selectionGuide":{"purpose":"Build a dashboard grid that users can rearrange","chooseWhen":["Build a dashboard grid that users can rearrange","Connect dragging/resizing to saving the user's layout"],"considerInstead":[],"requirements":["Provide the measured container width; the new README demonstrates useContainerWidth and delayed rendering after mounted."],"limitations":["Costs and limits of free use: Computing resources, self-hosting, and external services are paid for separately if used.","Terms of use: MIT for the code; dependencies have separate licenses.","Container width is a required input to GridLayout; server-rendered HTML alone does not provide a browser measurement."],"faq":[{"question":"What can you use for free in React Grid Layout?","answer":"Code and local use under MIT."},{"question":"What additional costs might arise with React Grid Layout?","answer":"Computing resources, self-hosting, and external services are paid for separately if used."},{"question":"What terms of use matter for React Grid Layout?","answer":"MIT for the code; dependencies have separate licenses."},{"question":"How do you get started with React Grid Layout?","answer":"Describe widgets and layouts for different screen sizes. Connect dragging/resizing to saving the user's layout. Configure styles and check empty, loading, and error states."},{"question":"Why does React Grid Layout calculate width incorrectly?","answer":"The README requires width and demonstrates useContainerWidth based on ResizeObserver. For SSR, the example waits for mounted before displaying the grid. Measure the container itself rather than assuming window width equals the grid's available width."}],"related":[],"sources":["https://github.com/react-grid-layout/react-grid-layout","https://raw.githubusercontent.com/react-grid-layout/react-grid-layout/HEAD/README.md","https://raw.githubusercontent.com/react-grid-layout/react-grid-layout/HEAD/LICENSE","https://www.open-source-tools.com/","https://raw.githubusercontent.com/react-grid-layout/react-grid-layout/master/LICENSE"]},"selectionCheckedAt":null,"applicationGuide":{"goal":"Build a dashboard grid that users can rearrange.","inputs":["The component's design, states, and data.","A compatible framework and the project's styles."],"steps":["Describe widgets and layouts for different screen sizes.","Connect dragging/resizing to saving the user's layout.","Configure styles and check empty, loading, and error states."],"checks":["The keyboard, focus indicators, and a screen reader let users complete the action.","The component works on a narrow screen and with long data values."]},"sources":["https://github.com/react-grid-layout/react-grid-layout","https://raw.githubusercontent.com/react-grid-layout/react-grid-layout/HEAD/README.md","https://raw.githubusercontent.com/react-grid-layout/react-grid-layout/HEAD/LICENSE","https://www.open-source-tools.com/","https://raw.githubusercontent.com/react-grid-layout/react-grid-layout/master/LICENSE"],"checkedAt":"2026-10-06","reviewScope":"The purpose, current repository license, and separate terms for code, services, and models have been reviewed. The product was not run, and no security audit was performed.","relatedIds":[],"dataVersion":"cbbe7123b47a5ae80983","type":"UI library","kind":"library","pricingNote":"Code and local use under MIT. Computing resources, self-hosting, and external services are paid for separately if used.","notes":null,"labeledSources":[{"url":"https://github.com/react-grid-layout/react-grid-layout","label":"Official source"},{"url":"https://raw.githubusercontent.com/react-grid-layout/react-grid-layout/HEAD/README.md","label":"Official source"},{"url":"https://raw.githubusercontent.com/react-grid-layout/react-grid-layout/HEAD/LICENSE","label":"License"},{"url":"https://www.open-source-tools.com/","label":"Catalog / discovery source"},{"url":"https://raw.githubusercontent.com/react-grid-layout/react-grid-layout/master/LICENSE","label":"Official source"}],"licenseGuides":[{"id":"mit","title":"MIT — permissive license","scope":null,"summary":"You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.","url":"https://opensource.org/license/mit"}],"entryIds":[],"composition":null}