<html lang="fr-fr" dir="ltr"><head></head><body>### [wpforms_integrations_stripe_api_payment_intents_set_element_appearance](https://wpforms.com/developers/wpforms_integrations_stripe_api_payment_intents_set_element_appearance/)

**Published:** September 30, 2025
**Author:** Umair Majeed

**Content:**

## Description

The `wpforms_integrations_stripe_api_payment_intents_set_element_appearance` filter allows you to customize the “From” name used in WPForms emails. For example, you may want to replace the site name with a brand name or a specific label for certain email templates.

You can use this filter to overwrite Stripe’s default appearance object. Options follow Stripe’s [Elements Appearance API](https://stripe.com/docs/elements/appearance-api), so you can adjust colors, fonts, and layout to match your site.

parametertypedescription`$appearance`arrayThe Stripe Payment Element appearance settings.## Source

`wpforms\src\Integrations\Stripe\Api\PaymentIntents.php`

## Example

```

// Change Stripe Payment Element to use floating labels and a custom theme.
function wpf_stripe_payment_element_appearance() {
    return [
        'theme'  =&gt; 'stripe',
        'labels' =&gt; 'floating',
        'variables' =&gt; [
            'colorPrimary'   =&gt; '#EFC078',
            'colorText'      =&gt; '#ffffff',
            'borderRadius'   =&gt; '8px',
        ],
    ];
}
add_filter(
    'wpforms_integrations_stripe_api_payment_intents_set_element_appearance',
    'wpf_stripe_payment_element_appearance'
);
```

## Reference Article

- [How to Customize the Stripe Styling](https://wpforms.com/developers/how-to-customize-the-stripe-styling/)

-

**Categories:** Filters Hooks

---

</body></html>