Clients --> Overlay

The overlay does not create rooms, join rooms, list public rooms, or start matches. You still add that flow after install.

npm install @lokiplay/ui-web@0.5.8
import { registerLokiOverlay } from "@lokiplay/ui-web";
registerLokiOverlay();
<loki-overlay></loki-overlay>

Set element.state to { connected, roomCode, players, messages }. Listen for loki-chat-send and call client.sendChat(detail.text).

The Loki overlay does not list, create, or join public rooms.