Skip to main content
The kit renders its own popups with React into a container it adds to document.body. You don’t mount anything.

Popups

Bridge presets

openBridge({ setup }) takes a BridgeSetup:

Sheet or modal

Popups open as a right-side sheet by default (full screen on phones). Switch to a centered modal globally or per call:
A popup opened from inside a sheet stays in that sheet. Resolution order: the per-call option, a sheet on screen, the global default.

Theme

The theme is one <style> scoped to .hot-kit; applyTheme(theme) changes it later and compileTheme(theme) returns the CSS for server rendering. Without a theme nothing is injected and the kit keeps its built-in look.

Branding

Renames the balance account in the UI (“My App balance”, “Deposit to My App”).

Balance account

By default deposits go to the HOT (NEAR Intents) balance of the priority wallet. balanceAccount changes that:

Custom profile tabs

render and badge run inside a MobX observer, so they may read observables. Inside a webview or a mini app, pass openExternal: (url) => openInSystemBrowser(url) to HotKit so explorer links and wallet deeplinks open the right way.