# GridFoldersState

**Category:** Base Components/Collections/GridFolders/GridFoldersState

## API

### Overview

`GridFoldersState` manages the state for a [`GridFolders`](./?path=/story/base-components-collections-gridfolders--gridfolders) component, which displays both folders and items in a grid layout. It holds separate `CollectionState` instances for folders and items, plus a shared toolbar. Created by [`useGridCollection`](./?path=/story/common-hooks--usegridcollection) with a folders configuration.

### Description

`GridFoldersState` is the return value of the [`useGridFoldersCollection()`](./?path=/story/base-components-collections-gridfolders-usegridfolders--usegridfolders) hook.

### Props

| Prop | Type | Required | Default | Description |
|------|------|----------|---------|-------------|
| `toolbar` | `ToolbarCollectionState<T1, {}>` | Yes | - | Underlying [ToolbarCollectionState](./?path=/story/common-state--toolbarcollectionstate) instance |

