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.
Widget scope
Account Session label
Points Reward snapshot
Nodes Linked devices
State Live sync
The widget is a live snapshot, not a replacement for the dashboard. WidgetCompact Designed for a small account snapshot inside another page.
WidgetLive Reads bootstrap data and listens for control-plane updates.
WidgetClear fallback Shows unavailable state when the API cannot provide data.
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();
}
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.