Skip to content

Composable API ​

useGridLayout exposes the layout state and operations without rendering GridLayout or GridItem. It is useful when you want to keep the placement rules but render your own markup.

Try it: Add, move, and remove items. The custom rendering reads every change from the headless layout state.

Live demo

Released under the MIT License.