Soenneker.Blazor.Stripe.Elements 3.0.346

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Soenneker.Blazor.Stripe.Elements --version 3.0.346
                    
NuGet\Install-Package Soenneker.Blazor.Stripe.Elements -Version 3.0.346
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Soenneker.Blazor.Stripe.Elements" Version="3.0.346" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Blazor.Stripe.Elements" Version="3.0.346" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Blazor.Stripe.Elements" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.Blazor.Stripe.Elements --version 3.0.346
                    
#r "nuget: Soenneker.Blazor.Stripe.Elements, 3.0.346"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Soenneker.Blazor.Stripe.Elements@3.0.346
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.Blazor.Stripe.Elements&version=3.0.346
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Blazor.Stripe.Elements&version=3.0.346
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

alternate text is missing from this package README image Soenneker.Blazor.Stripe.Elements

A modular, strongly-typed Blazor library for Stripe Elements โ€” designed to provide first-class C# configuration and deep interop with Stripe.js. Built for modern Blazor projects using Stripe's Payment, Link Authentication, and Address Elements.

โœจ Features

  • ๐Ÿ”Œ Blazor-native components for <StripeElements>, <StripePaymentElement>, <StripeLinkAuthenticationElement>, and <StripeAddressElement>
  • ๐Ÿง  Fully configurable via C# โ€” with strong typing for all supported options, including appearance, locale, currency, developer tools, and more
  • ๐ŸŽจ Appearance API support with extensible theming and rule control
  • ๐Ÿ“ฆ Supports SetupIntents, on-submit hooks, and validation workflows
  • ๐Ÿงช Compatible with Stripe test environments and developer tooling
  • ๐Ÿ”„ Seamless async interop with Stripe.js lifecycle

<img src="https://github.com/user-attachments/assets/a2f8777a-02e0-40de-afd6-fe4d1211427b" width="80%"></img>

๐Ÿ“ฆ Installation

dotnet add package Soenneker.Blazor.Stripe.Elements

๐Ÿ› ๏ธ Usage

1. Register Stripe in your Blazor project

builder.Services.AddStripeElementsInteropAsScoped();

2. Add the components to your Razor page

<StripeElements @ref="_stripeElements" StripeElementsConfiguration="_config">

    <StripeAddressElement />
    <StripeLinkAuthenticationElement />
    <StripePaymentElement />

    <Button Clicked="Submit">Submit</Button>
</StripeElements>

3. Configure Stripe using C#

_config = new StripeElementsConfiguration
{
    PublishableKey = "pk_test_...",
    ElementsOptions = new StripeElementsOptions
    {
        Locale = "auto",
        Currency = CurrencyCode.Usd,
        Mode = StripeElementsMode.Setup,
        Appearance = new StripeAppearance
        {
            Theme = StripeElementsTheme.Flat,
            Variables = new StripeAppearanceVariablesExtended
            {
                ColorPrimary = "#0570de",
                BorderRadius = "4px"
            }
        }
    },
    AddressOptions = new StripeAddressOptions
    {
        Mode = StripeAddressMode.Billing,
        AllowedCountries = ["US", "CA"],
        Fields = new StripeAddressFields
        {
            Phone = StripeAddressFieldsPhoneOption.Auto
        }
    }
};

โœ… Components

Component Purpose
StripeElements Wrapper and manager for all child elements
StripePaymentElement Handles card and express payments
StripeLinkAuthenticationElement Collects email and links with Stripe Link
StripeAddressElement Collects billing or shipping address
StripeElementsConfiguration Full C# model to control everything

๐Ÿ”— Official Stripe Docs

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.0.359 24 8/22/2025
3.0.358 63 8/17/2025
3.0.357 58 8/17/2025
3.0.356 81 8/15/2025
3.0.355 78 8/15/2025
3.0.354 84 8/15/2025
3.0.353 85 8/15/2025
3.0.352 96 8/14/2025
3.0.351 127 8/12/2025
3.0.350 122 8/12/2025
3.0.349 121 8/12/2025
3.0.348 125 8/11/2025
3.0.347 127 8/11/2025
3.0.346 130 8/11/2025
3.0.345 120 8/11/2025
3.0.344 120 8/11/2025
3.0.343 122 8/11/2025
3.0.342 127 8/11/2025
3.0.341 122 8/11/2025
3.0.340 118 8/11/2025
3.0.339 120 8/11/2025
3.0.338 120 8/11/2025
3.0.337 210 8/6/2025
3.0.336 223 8/5/2025
3.0.335 218 8/5/2025
3.0.334 211 8/5/2025
3.0.333 215 8/5/2025
3.0.332 214 8/5/2025
3.0.331 200 8/5/2025
3.0.330 198 8/5/2025
3.0.329 101 7/29/2025
3.0.328 94 7/29/2025
3.0.327 439 7/24/2025
3.0.326 172 7/9/2025
3.0.325 136 7/9/2025
3.0.324 133 7/9/2025
3.0.323 146 7/9/2025
3.0.322 135 7/9/2025
3.0.321 138 7/9/2025
3.0.320 138 7/8/2025
3.0.319 132 7/8/2025
3.0.318 196 7/3/2025
3.0.317 135 7/3/2025
3.0.316 133 7/3/2025
3.0.315 151 7/1/2025
3.0.314 137 6/28/2025
3.0.313 90 6/28/2025
3.0.312 94 6/28/2025
3.0.311 66 6/28/2025
3.0.310 67 6/28/2025
3.0.309 64 6/28/2025
3.0.308 62 6/28/2025
3.0.307 64 6/27/2025
3.0.306 63 6/27/2025
3.0.305 75 6/27/2025
3.0.304 73 6/27/2025
3.0.303 77 6/27/2025
3.0.302 138 6/25/2025
3.0.301 139 6/25/2025
3.0.300 152 6/23/2025
3.0.298 396 6/11/2025
3.0.297 298 6/11/2025
3.0.296 287 6/11/2025
3.0.295 289 6/11/2025
3.0.294 285 6/11/2025
3.0.293 282 6/10/2025
3.0.292 283 6/10/2025
3.0.291 278 6/10/2025
3.0.290 288 6/10/2025
3.0.289 204 6/3/2025
3.0.288 150 6/3/2025
3.0.287 173 5/28/2025
3.0.286 145 5/28/2025
3.0.285 144 5/27/2025
3.0.284 150 5/27/2025
3.0.283 144 5/27/2025
3.0.282 147 5/27/2025
3.0.281 144 5/27/2025
3.0.280 155 5/27/2025
3.0.279 144 5/27/2025
3.0.278 152 5/27/2025
3.0.277 144 5/27/2025
3.0.276 143 5/27/2025
3.0.275 152 5/26/2025
3.0.274 101 5/25/2025
3.0.273 106 5/25/2025
3.0.272 84 5/23/2025
3.0.271 99 5/23/2025
3.0.270 103 5/23/2025
3.0.269 114 5/23/2025
3.0.268 115 5/23/2025
3.0.267 123 5/23/2025
3.0.266 125 5/23/2025
3.0.265 129 5/23/2025
3.0.264 129 5/23/2025
3.0.263 129 5/23/2025
3.0.262 141 5/23/2025
3.0.261 135 5/23/2025
3.0.260 139 5/23/2025
3.0.259 146 5/22/2025
3.0.258 183 5/19/2025
3.0.257 149 5/18/2025
3.0.256 107 5/18/2025
3.0.255 234 5/15/2025
3.0.254 233 5/14/2025
3.0.253 246 5/14/2025
3.0.252 225 5/14/2025
3.0.251 235 5/14/2025
3.0.250 239 5/13/2025
3.0.249 252 5/13/2025
3.0.248 169 5/8/2025
3.0.247 154 5/8/2025
3.0.246 149 5/8/2025
3.0.245 160 5/8/2025
3.0.244 150 5/8/2025
3.0.243 148 5/8/2025
3.0.242 144 5/8/2025
3.0.241 151 5/8/2025
3.0.240 147 5/8/2025
3.0.239 150 5/8/2025
3.0.238 149 5/7/2025
3.0.237 147 5/7/2025
3.0.236 162 5/7/2025
3.0.235 153 5/7/2025
3.0.234 150 5/6/2025
3.0.233 152 5/6/2025
3.0.232 143 5/6/2025
3.0.231 151 5/6/2025
3.0.230 149 5/6/2025
3.0.229 145 5/6/2025
3.0.228 144 5/6/2025
3.0.227 141 5/6/2025
3.0.226 139 5/6/2025
3.0.225 145 5/6/2025
3.0.224 152 5/6/2025
3.0.223 150 5/6/2025
3.0.222 145 5/5/2025
3.0.221 150 5/5/2025
3.0.220 146 5/5/2025
3.0.219 149 5/5/2025
3.0.218 142 5/5/2025
3.0.217 144 5/5/2025
3.0.216 150 5/5/2025
3.0.215 150 5/5/2025
3.0.214 154 5/5/2025
3.0.213 144 5/5/2025
3.0.212 159 5/5/2025
3.0.211 149 5/5/2025
3.0.210 145 5/5/2025
3.0.209 148 5/5/2025
3.0.208 143 5/5/2025
3.0.207 142 5/5/2025
3.0.206 147 5/5/2025
3.0.203 144 5/5/2025
3.0.202 149 5/5/2025
3.0.201 144 5/4/2025
3.0.200 153 5/4/2025
3.0.199 155 5/4/2025
3.0.198 72 5/3/2025
3.0.197 90 5/2/2025
3.0.196 90 5/2/2025
3.0.195 93 5/2/2025
3.0.194 92 5/2/2025
3.0.193 101 5/2/2025
3.0.192 101 5/2/2025
3.0.191 95 5/2/2025
3.0.190 92 5/2/2025
3.0.189 88 5/2/2025
3.0.188 200 4/29/2025
3.0.187 143 4/27/2025
3.0.186 92 4/26/2025
3.0.185 80 4/26/2025
3.0.184 96 4/26/2025
3.0.183 170 4/24/2025
3.0.182 273 4/10/2025
3.0.181 208 4/9/2025
3.0.180 171 4/9/2025
3.0.179 174 4/9/2025
3.0.178 174 4/9/2025
3.0.177 163 4/8/2025
3.0.176 160 4/8/2025
3.0.175 161 4/8/2025
3.0.174 164 4/8/2025
3.0.173 167 4/8/2025
3.0.172 163 4/8/2025
3.0.171 167 4/8/2025
3.0.170 174 4/8/2025
3.0.169 164 4/8/2025
3.0.168 163 4/8/2025
3.0.167 157 4/8/2025
3.0.166 169 4/8/2025
3.0.165 166 4/8/2025
3.0.164 164 4/8/2025
3.0.163 161 4/8/2025
3.0.162 160 4/8/2025
3.0.161 164 4/8/2025
3.0.160 170 4/8/2025
3.0.159 164 4/8/2025
3.0.158 162 4/8/2025
3.0.157 165 4/8/2025
3.0.156 156 4/8/2025
3.0.155 168 4/8/2025
3.0.154 177 4/7/2025
3.0.153 178 4/7/2025
3.0.152 157 4/7/2025
3.0.151 169 4/7/2025
3.0.150 180 4/7/2025
3.0.149 172 4/7/2025
3.0.148 170 4/7/2025
3.0.147 168 4/7/2025
3.0.146 176 4/7/2025
3.0.145 172 4/7/2025
3.0.144 168 4/7/2025
3.0.143 181 4/7/2025
3.0.142 173 4/7/2025
3.0.141 180 4/7/2025
3.0.140 165 4/7/2025
3.0.139 161 4/7/2025
3.0.138 170 4/7/2025
3.0.137 179 4/7/2025
3.0.136 172 4/7/2025
3.0.135 173 4/7/2025
3.0.134 182 4/7/2025
3.0.133 171 4/7/2025
3.0.132 177 4/7/2025
3.0.131 174 4/7/2025
3.0.130 173 4/7/2025
3.0.129 169 4/7/2025
3.0.128 173 4/7/2025
3.0.127 167 4/7/2025
3.0.126 169 4/7/2025
3.0.125 193 4/7/2025
3.0.124 165 4/7/2025
3.0.123 160 4/7/2025
3.0.122 168 4/7/2025
3.0.121 166 4/6/2025
3.0.120 161 4/6/2025
3.0.119 161 4/6/2025
3.0.118 163 4/6/2025
3.0.117 163 4/6/2025
3.0.116 176 4/6/2025
3.0.115 170 4/6/2025
3.0.114 171 4/6/2025
3.0.113 170 4/6/2025
3.0.112 140 4/6/2025
3.0.111 134 4/6/2025
3.0.110 137 4/6/2025
3.0.109 145 4/6/2025
3.0.108 140 4/6/2025
3.0.107 147 4/6/2025
3.0.106 149 4/6/2025
3.0.105 146 4/6/2025
3.0.104 123 4/6/2025
3.0.103 114 4/6/2025
3.0.102 124 4/6/2025
3.0.101 112 4/6/2025
3.0.100 115 4/6/2025
3.0.99 113 4/6/2025
3.0.98 125 4/6/2025
3.0.97 112 4/6/2025
3.0.96 126 4/6/2025
3.0.95 120 4/6/2025
3.0.94 134 4/6/2025
3.0.93 118 4/5/2025
3.0.92 101 4/5/2025
3.0.91 93 4/5/2025
3.0.90 109 4/5/2025
3.0.89 92 4/5/2025
3.0.88 98 4/5/2025
3.0.87 101 4/5/2025
3.0.86 98 4/5/2025
3.0.85 101 4/5/2025
3.0.84 94 4/5/2025
3.0.83 98 4/5/2025
3.0.82 98 4/5/2025
3.0.81 104 4/5/2025
3.0.80 87 4/5/2025
3.0.79 95 4/5/2025
3.0.78 94 4/5/2025
3.0.77 102 4/5/2025
3.0.76 104 4/4/2025
3.0.75 107 4/4/2025
3.0.74 146 4/4/2025
3.0.73 141 4/4/2025
3.0.72 152 4/4/2025
3.0.71 154 4/4/2025
3.0.70 159 4/4/2025
3.0.69 154 4/4/2025
3.0.68 185 4/4/2025
3.0.67 160 4/4/2025
3.0.66 178 4/4/2025
3.0.65 164 4/4/2025
3.0.64 162 4/2/2025
3.0.63 151 4/1/2025
3.0.62 159 4/1/2025
3.0.61 161 4/1/2025
3.0.60 161 4/1/2025
3.0.59 154 4/1/2025
3.0.58 161 4/1/2025
3.0.57 151 4/1/2025
3.0.56 162 4/1/2025
3.0.55 154 4/1/2025
3.0.54 162 4/1/2025
3.0.53 153 4/1/2025
3.0.52 148 4/1/2025
3.0.51 160 4/1/2025
3.0.50 163 4/1/2025
3.0.49 154 4/1/2025
3.0.48 163 4/1/2025
3.0.47 158 4/1/2025
3.0.46 154 4/1/2025
3.0.45 162 4/1/2025
3.0.44 152 4/1/2025
3.0.43 150 4/1/2025
3.0.41 157 3/31/2025
3.0.40 178 3/31/2025
3.0.39 169 3/31/2025
3.0.38 155 3/31/2025
3.0.37 175 3/31/2025
3.0.36 166 3/31/2025
3.0.35 155 3/31/2025
3.0.34 156 3/30/2025
3.0.33 158 3/30/2025
3.0.32 155 3/29/2025
3.0.31 82 3/29/2025
3.0.30 87 3/29/2025
3.0.29 99 3/29/2025
3.0.28 93 3/29/2025
3.0.27 96 3/29/2025
3.0.26 91 3/29/2025
3.0.25 92 3/29/2025
3.0.24 97 3/29/2025
3.0.23 95 3/29/2025
3.0.22 136 3/27/2025
3.0.21 146 3/27/2025
3.0.20 145 3/27/2025
3.0.19 471 3/26/2025
3.0.18 470 3/26/2025
3.0.17 466 3/26/2025
3.0.16 478 3/26/2025
3.0.15 471 3/25/2025
3.0.14 472 3/25/2025
3.0.13 472 3/25/2025
3.0.12 468 3/25/2025
3.0.11 475 3/25/2025
3.0.10 468 3/25/2025
3.0.9 475 3/25/2025
3.0.8 472 3/25/2025
3.0.7 485 3/25/2025
3.0.6 485 3/25/2025
3.0.5 489 3/25/2025
3.0.4 490 3/24/2025
3.0.3 470 3/24/2025
3.0.2 462 3/24/2025
3.0.1 471 3/24/2025