Load Avatars
Load 3D avatars into your React Project.
Load and render avatars with Visage
import React from 'react';
import ReactDOM from 'react-dom';
import { Avatar } from '@readyplayerme/visage';
const modelSrc = 'https://readyplayerme.github.io/visage/male.glb'; // this can be a relative or absolute URL
function App() {
return (
<Avatar modelSrc={modelSrc} />
);
}
ReactDOM.render(<App />, document.querySelector('#app'));Customize the rendering

Last updated
Was this helpful?

