# React Grid Layout

[BASE product page](<https://base.akulich.dev/en/library/react-grid-layout/>) · [Resource](<https://github.com/react-grid-layout/react-grid-layout>)

ID: react\-grid\-layout · Language: en
Schema version: 1 · Data version: cbbe7123b47a5ae80983

This is editorial data. An unknown field neither confirms nor rules out a capability.
dataVersion is a dataset fingerprint, not evidence of a recent fact check.

A draggable and resizable React grid with responsive layouts: useful for user\-customizable panels and dashboard builders\.

## Type

UI library

## Entry type

library

## Separate catalog

No

## [Access conditions](<https://base.akulich.dev/en/library/react-grid-layout/#resource-access>)

free

## [What you can use for free](<https://base.akulich.dev/en/library/react-grid-layout/#resource-access>)

Code and local use under MIT\.

## [Paid features and costs](<https://base.akulich.dev/en/library/react-grid-layout/#resource-access>)

Computing resources, self\-hosting, and external services are paid for separately if used\.

## [Access and limitations](<https://base.akulich.dev/en/library/react-grid-layout/#resource-access>)

Code and local use under MIT\. Computing resources, self\-hosting, and external services are paid for separately if used\.

## [Use cases](<https://base.akulich.dev/en/library/react-grid-layout/#resource-tasks>)

- Build a dashboard grid that users can rearrange
- Connect dragging/resizing to saving the user's layout

## Category IDs

- frontend
- design

## Subcategory IDs

- frontend\.components
- design\.systems
- frontend\.tables

## Tags

- React Grid Layout
- UI
- Development

## Also known as

- react\-grid\-layout/react\-grid\-layout
- react\-grid\-layout
- react\-grid
- react\-draggable\-grid

## [Selection purpose](<https://base.akulich.dev/en/library/react-grid-layout/#resource-selection>)

Build a dashboard grid that users can rearrange

## [Choose this when](<https://base.akulich.dev/en/library/react-grid-layout/#resource-selection>)

- Build a dashboard grid that users can rearrange
- Connect dragging/resizing to saving the user's layout

## [Requirements](<https://base.akulich.dev/en/library/react-grid-layout/#resource-selection>)

- Provide the measured container width; the new README demonstrates useContainerWidth and delayed rendering after mounted\.

## [Limitations](<https://base.akulich.dev/en/library/react-grid-layout/#resource-selection>)

- 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\.

## [Questions before use](<https://base.akulich.dev/en/library/react-grid-layout/#resource-faq>)

### What can you use for free in React Grid Layout?

Code and local use under MIT\.

### What additional costs might arise with React Grid Layout?

Computing resources, self\-hosting, and external services are paid for separately if used\.

### What terms of use matter for React Grid Layout?

MIT for the code; dependencies have separate licenses\.

### How do you get started with React Grid Layout?

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\.

### Why does React Grid Layout calculate width incorrectly?

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\.

## Sources for the selection guide

- [https://github\.com/react\-grid\-layout/react\-grid\-layout](<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/README.md>)
- [https://raw\.githubusercontent\.com/react\-grid\-layout/react\-grid\-layout/HEAD/LICENSE](<https://raw.githubusercontent.com/react-grid-layout/react-grid-layout/HEAD/LICENSE>)
- [https://www\.open\-source\-tools\.com/](<https://www.open-source-tools.com/>)
- [https://raw\.githubusercontent\.com/react\-grid\-layout/react\-grid\-layout/master/LICENSE](<https://raw.githubusercontent.com/react-grid-layout/react-grid-layout/master/LICENSE>)

## [Possible workflow](<https://base.akulich.dev/en/library/react-grid-layout/#resource-scenario>)

Build a dashboard grid that users can rearrange\.

A possible workflow; this is not a report of hands-on testing.

## Before you start

- The component's design, states, and data\.
- A compatible framework and the project's styles\.

## Steps

1. Describe widgets and layouts for different screen sizes\.
2. Connect dragging/resizing to saving the user's layout\.
3. Configure styles and check empty, loading, and error states\.

## Check your result

- 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\.

## [License](<https://base.akulich.dev/en/library/react-grid-layout/#resource-license>)

MIT for the code; dependencies have separate licenses\.

## License explanations for the specified scope

### MIT — permissive license

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\.

[License terms](<https://opensource.org/license/mit>)

## [Sources](<https://base.akulich.dev/en/library/react-grid-layout/#resource-sources>)

- [Official source](<https://github.com/react-grid-layout/react-grid-layout>)
- [Official source](<https://raw.githubusercontent.com/react-grid-layout/react-grid-layout/HEAD/README.md>)
- [License](<https://raw.githubusercontent.com/react-grid-layout/react-grid-layout/HEAD/LICENSE>)
- [Catalog / discovery source](<https://www.open-source-tools.com/>)
- [Official source](<https://raw.githubusercontent.com/react-grid-layout/react-grid-layout/master/LICENSE>)

## Editorial review date

2026\-10\-06

## Editorial review scope

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\.

Dates refer to the stated editorial review, not hands-on testing, a product update, or a recent review of all sources.
