Fund, Pay, Swap, Withdraw, or Earn and render them directly. There is no provider wrapper to set up. Each component takes an apiKey and its mode-specific configuration as props.
Shared component props
These props apply to all mode components:Fund, Pay, Swap, Withdraw, and Earn.
Appearance
Wallet
Route behavior
Chain identifier
Thechain field accepts any of:
- Chain name string:
"polygon","ethereum","base" - Numeric chain ID:
137,1,8453 - A viem chain object
Per-component props
For Fund-, Pay-, Swap-, Withdraw-, and Earn-specific props, see the dedicated component pages.Customization with CSS variables
Pass CSS variable overrides via thecustomCss prop. Variables can reference your design system tokens.
Key CSS variables
The full variable list (60+ variables) covers typography, spacing, backgrounds, borders, inputs, and status colors.