| Name | Description |
|---|---|
| className | CSS class name. |
| id | Uniquely identifies this group within an application.
Falls back to ℹ️ This value will also be assigned to the |
| style | CSS properties. ⚠️ The following styles cannot be overridden: |
| children | Panel and Separator components that comprise this group. |
| defaultLayout | Default layout for the Group. ℹ️ This value allows layouts to be remembered between page reloads. ⚠️ Refer to the documentation for how to avoid layout shift when using server components. |
| disableCursor | This library sets custom mouse cursor styles to indicate drag state. Use this prop to disable that behavior for Panels and Separators in this group. |
| disabled | Disable resize functionality. |
| elementRef | Ref attached to the root |
| groupRef | Exposes the following imperative API:
ℹ️ The |
| onLayoutChange | Called when panel sizes change; receives a map of Panel id to size. |
| orientation | Specifies the resizable orientation ("horizontal" or "vertical"); defaults to "horizontal" |
| Name | Description |
|---|---|
| className | CSS class name. ⚠️ Class is applied to nested |
| id | Uniquely identifies this panel within the parent group.
Falls back to ℹ️ This prop is used to associate persisted group layouts with the original panel. ℹ️ This value will also be assigned to the |
| style | CSS properties. ⚠️ Style is applied to nested |
| collapsedSize | Panel size when collapsed; defaults to 0%. |
| collapsible | This panel can be collapsed. ℹ️ A collapsible panel will collapse when it's size is less than of the specified |
| defaultSize | Default size of Panel within its parent group; default is auto-assigned based on the total number of Panels. |
| elementRef | Ref attached to the root |
| maxSize | Maximum size of Panel within its parent group; defaults to 100%. |
| minSize | Minimum size of Panel within its parent group; defaults to 0%. |
| onResize | Called when panel sizes change. @param panelSize Panel size (both as a percentage of the parent Group and in pixels) @param id Panel id (if one was provided as a prop) @param prevPanelSize Previous panel size (will be undefined on mount) |
| panelRef | Exposes the following imperative API:
ℹ️ The |
| Name | Description |
|---|---|
| className | CSS class name. ℹ️ Use the ⚠️ The following properties cannot be overridden: |
| id | Uniquely identifies the separator within the parent group.
Falls back to ℹ️ This value will also be assigned to the |
| style | CSS properties. ℹ️ Use the ⚠️ The following properties cannot be overridden: |
| elementRef | Ref attached to the root |