bible-strong-avatar-lab/examples/web-vite-consumer/index.html
smontlouis 2386b78817 feat(runtime): unify React and ESM avatar exports
Add shared core-backed React and browser runtimes, continuous playback transitions, export previews and API documentation. Package the JavaScript export as a CDN-powered demo with the portable avatar definition.
2026-08-17 17:27:20 +02:00

22 lines
697 B
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Avatar Web consumer</title>
</head>
<body>
<main>
<div id="avatar"></div>
<div class="controls">
<button type="button" data-animation="sleeping">Sleeping</button>
<button type="button" data-animation="idle">Idle</button>
<button type="button" data-expression="neutral">Neutral</button>
<button type="button" id="pause">Pause</button>
<button type="button" id="stop">Stop</button>
</div>
</main>
<script type="module" src="/src/main.ts"></script>
</body>
</html>