Example for React <Avatar> component 'loader' property

2024-08-12 18_17_10-Window

Is there an example on how to implement this loader property of the Avatar component in React? It is of the type ‘ReactNode’. But when I put it in a simple div with text to test it, I don’t see it displayed anywhere.

Cheers,
Rutger

Hi SpaceShift,

is the Avatar not loading for you at all or are you not seeing the Avatar Creator?

Did you check the React Documentation already? If not, it can be found here: Quickstart | Ready Player Me

The avatar IS loading in the React Avatar component. But it takes a while and it’s not displaying any loader, that’s why I want to use the loader property. But I can’t figure out how it works, the documentation is not sufficient on this property.