Reka UI logoReka
backdrop
PropDefaultType
as
'div'
AsTag | Component

The element or component this component should render as. Can be overwritten by asChild.

asChild
boolean

Change the default rendered element for the one passed as a child, merging their props and behavior.

Read our Composition guide for more details.

autoSaveId
null
string | null

Unique id used to auto-save group arrangement via localStorage.

direction*
'vertical' | 'horizontal'

The group orientation of splitter.

id
string | null

Group id; falls back to useId when not provided.

keyboardResizeBy
10
number | null

Step size when arrow key was pressed.

storage
defaultStorage
PanelGroupStorage

Custom storage API; defaults to localStorage

EmitPayload
layout
[val: number[]]

Event handler called when group layout changes

Slots (default)Payload
layout
number[]

Current size of layout