Widget package

The LiteVerse widget embeds a compact live account snapshot.

Use the widget when a page needs a small LiteVerse summary without becoming a full dashboard. The widget is a repository package built on the base SDK.

Behavior

The widget is a live snapshot, not a replacement for the dashboard.

Widget

Compact

Designed for a small account snapshot inside another page.

Widget

Live

Reads bootstrap data and listens for control-plane updates.

Widget

Clear fallback

Shows unavailable state when the API cannot provide data.

Mounting

Give the widget one mount point and the LiteVerse API base URL.

Displayed data

Account label and current session state.
Available points, linked nodes, and wallet count when returned by the API.
Recent activity and endpoint status.
Refresh behavior tied to control-plane events.
Embed usage
import { mountLiteVerseWidget } from "@liteverse/widget";

const mount = document.querySelector("#liteverse-widget");

if (mount) {
  const instance = await mountLiteVerseWidget({
    mount,
    apiBaseUrl: "https://api.liteverse.network",
  });

  instance.destroy();
}
When to use it

Use the widget for small summaries and the dashboard for control.

Use widget for
Account summary cards.
Reward and activity previews.
Lightweight status panels.
Partner pages that need one LiteVerse module.
Use dashboard for
Account settings and sign-in method management.
Node pairing and service controls.
Full history, logs, and rewards views.
Any screen that changes private account state.