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.

disabled
boolean

Whether or not an accordion item is disabled from user interaction. When true, prevents the user from interacting with the item.

unmountOnHide
boolean

When true, the element will be unmounted on closed state.

value*
string

A string value for the accordion item. All items within an accordion should use a unique value.

Slots (default)Payload
open
boolean

Current open state