Reka UI logoReka
backdrop
PropDefaultType
active
boolean

Used to identify the link as the currently active page.

as
'a'
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.

EmitPayload
select
[payload: CustomEvent<{ originalEvent: Event; }>]

Event handler called when the user selects a link (via mouse or keyboard).

Calling event.preventDefault in this handler will prevent the navigation menu from closing when selecting that link.