Reka UI logoReka
backdrop
PropDefaultType
as
'img'
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.

crossOrigin
'' | 'anonymous' | 'use-credentials'
referrerPolicy
'' | 'no-referrer' | 'no-referrer-when-downgrade' | 'origin' | 'origin-when-cross-origin' | 'same-origin' | 'strict-origin' | 'strict-origin-when-cross-origin' | 'unsafe-url'
src*
string
EmitPayload
loadingStatusChange
[value: ImageLoadingStatus]

A callback providing information about the loading status of the image.
This is useful in case you want to control more precisely what to render as the image is loading.