Skip to main content
Four layers of customization, each targeting a different concern:

Slots

Replace entire UI sections with your own components

Content

Override text and messages for different states

Theme

Configure colors and brand appearance

Classes

Apply CSS class overrides to specific elements
All core components (<AnySpend>, <AnySpendDeposit>, <AnySpendCheckout>, <AnySpendCheckoutTrigger>) accept slots, content, and theme props.

Slots

Slots let you replace entire UI sections with your own React components. Each slot receives props from AnySpend that you can use in your custom implementation.
AnySpendSlots Interface
The checkoutForm, shippingSelector, and discountInput slots are only used in <AnySpendCheckout> and <AnySpendCheckoutTrigger>. See the Checkout Guide for details on form/shipping/discount features.

Slot prop interfaces

Slot examples


Content

Override text and messages displayed during different transaction states. Each field accepts a string or ReactNode.
AnySpendContent Interface

Content examples


Theme

Configure the visual appearance of AnySpend components with brand colors.
AnySpendTheme Interface
The brandColor prop is a shortcut that sets the brand color. If both brandColor and colors.brand are provided, colors.brand takes precedence.

Theme examples


CSS class overrides

Apply custom CSS classes to specific elements within AnySpend components. Each component has its own class interface.

AnySpendClasses

Used by <AnySpend>:
AnySpendClasses

AnySpendCheckoutClasses

Used by <AnySpendCheckout> and <AnySpendCheckoutTrigger>:

Layout & Structure

AnySpendDepositClasses

Used by <AnySpendDeposit>:
AnySpendDepositClasses

AnySpendAllClasses

Combine multiple class interfaces together. Used by <AnySpendDeposit> and <AnySpendWorkflowTrigger>:
AnySpendAllClasses

Class override example

Custom Styling
Checkout Styling

Combining customizations

All customization layers work together. Here’s a complete example:
Fully Customized Checkout

Next steps

Components

See all available components and their props

Checkout Guide

Build checkout experiences with full customization

Examples

Browse complete implementation examples