Skip to main content
ZapWidget is the inline zap form: one-click deposit, withdraw, or migrate across supported DeFi protocols (Fuse). It must render inside DZapWidgetProvider.
Zap is the product surface for DZap Fuse. For a headless version of the same flow, see SDK Zap.

Props

ZapAsset is a discriminated union: token, pool, or position. Build pool/position assets with the helpers in Data helpers rather than hand-rolling the shape.

Drawer trigger

ZapButton opens ZapWidget in a drawer. It accepts every ZapWidget prop plus:
Ref API is the same as SwapButton: open(), close(), toggle(), isOpen().

Imperative form API

ZapWidgetRef:
Last modified on September 21, 2026