Skip to main content
The SwapSettings component enables customizable slippage configuration in the Swap component.

Usage

Override styles

You can override component styles using className.

Override icon

You can override the icon using the icon prop.

Add text

You can add text next to the SwapSettings component using text.

Override text

You can override component text by providing children text.

Components

  • <SwapSettings /> - Container component for swap slippage settings.
  • <SwapSettingsSlippageDescription /> - Displays description text explaining the slippage setting.
  • <SwapSettingsSlippageInput /> - Input field for users to enter their desired max slippage percentage
  • <SwapSettingsSlippageTitle /> - Displays the title for the slippage settings section

Props