Soenneker.Blazor.Stripe.Elements 4.0.481

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 4.0.481
                    
NuGet\Install-Package Soenneker.Blazor.Stripe.Elements -Version 4.0.481
                    
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="4.0.481" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Blazor.Stripe.Elements" Version="4.0.481" />
                    
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 4.0.481
                    
#r "nuget: Soenneker.Blazor.Stripe.Elements, 4.0.481"
                    
#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@4.0.481
                    
#: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=4.0.481
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Blazor.Stripe.Elements&version=4.0.481
                    
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 net10.0 is compatible.  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
4.0.489 316 11/21/2025
4.0.488 299 11/21/2025
4.0.487 321 11/21/2025
4.0.486 318 11/21/2025
4.0.485 348 11/21/2025
4.0.484 352 11/21/2025
4.0.483 358 11/21/2025
4.0.482 359 11/21/2025
4.0.481 380 11/21/2025
4.0.480 374 11/21/2025
4.0.479 371 11/21/2025
4.0.478 379 11/20/2025
4.0.477 373 11/20/2025
4.0.476 376 11/20/2025
4.0.475 371 11/20/2025
4.0.474 380 11/20/2025
4.0.473 376 11/20/2025
4.0.472 372 11/12/2025
4.0.471 259 11/11/2025
4.0.470 262 11/11/2025
4.0.469 258 11/11/2025
4.0.468 269 11/11/2025
4.0.467 264 11/11/2025
4.0.466 265 11/11/2025
4.0.465 252 11/10/2025
4.0.464 245 11/10/2025
4.0.463 210 11/10/2025
4.0.462 217 11/10/2025
4.0.461 149 11/7/2025
4.0.460 156 11/7/2025
4.0.459 158 11/7/2025
4.0.458 161 11/7/2025
4.0.457 167 11/7/2025
4.0.456 164 11/7/2025
4.0.455 177 11/6/2025
4.0.454 171 11/6/2025
4.0.453 173 11/6/2025
4.0.452 171 11/6/2025
4.0.451 172 11/6/2025
4.0.450 178 11/6/2025
4.0.449 181 11/6/2025
4.0.448 175 11/4/2025
4.0.447 175 11/4/2025
4.0.446 174 11/4/2025
4.0.445 180 11/4/2025
4.0.444 177 11/4/2025
4.0.443 187 10/30/2025
4.0.442 171 10/30/2025
4.0.441 176 10/30/2025
4.0.440 176 10/30/2025
4.0.439 172 10/30/2025
4.0.438 175 10/30/2025
4.0.437 178 10/30/2025
4.0.436 174 10/30/2025
4.0.435 177 10/30/2025
4.0.434 171 10/30/2025
4.0.433 176 10/30/2025
4.0.432 176 10/30/2025
4.0.431 180 10/30/2025
4.0.430 175 10/29/2025
4.0.429 174 10/29/2025
3.0.428 173 10/23/2025
3.0.427 156 10/16/2025
3.0.426 159 10/16/2025
3.0.425 169 10/15/2025
3.0.424 159 10/15/2025
3.0.423 161 10/15/2025
3.0.422 174 10/15/2025
3.0.421 169 10/14/2025
3.0.420 168 10/8/2025
3.0.419 177 10/7/2025
3.0.418 175 9/30/2025
3.0.417 170 9/30/2025
3.0.416 171 9/30/2025
3.0.415 177 9/30/2025
3.0.414 109 9/26/2025
3.0.413 212 9/22/2025
3.0.412 179 9/20/2025
3.0.411 195 9/20/2025
3.0.410 201 9/20/2025
3.0.409 266 9/19/2025
3.0.408 311 9/19/2025
3.0.407 308 9/18/2025
3.0.406 307 9/18/2025
3.0.405 294 9/17/2025
3.0.404 297 9/17/2025
3.0.403 303 9/17/2025
3.0.402 309 9/17/2025
3.0.401 306 9/17/2025
3.0.400 302 9/17/2025
3.0.399 318 9/16/2025
3.0.398 309 9/16/2025
3.0.397 307 9/16/2025
3.0.396 174 9/10/2025
3.0.395 170 9/10/2025
3.0.394 171 9/10/2025
3.0.393 174 9/9/2025
3.0.392 182 9/9/2025
3.0.391 179 9/9/2025
3.0.390 177 9/9/2025
3.0.389 172 9/9/2025
3.0.388 166 9/9/2025
3.0.387 174 9/9/2025
3.0.386 173 9/9/2025
3.0.385 152 9/7/2025
3.0.384 155 9/6/2025
3.0.383 151 9/6/2025
3.0.382 138 9/6/2025
3.0.381 155 9/6/2025
3.0.380 150 9/6/2025
3.0.379 123 9/5/2025
3.0.378 206 9/4/2025
3.0.377 195 9/4/2025
3.0.376 184 9/4/2025
3.0.375 184 9/4/2025
3.0.374 178 9/4/2025
3.0.373 199 9/3/2025
3.0.372 174 9/3/2025
3.0.371 180 9/3/2025
3.0.370 180 9/3/2025
3.0.369 178 9/3/2025
3.0.368 197 9/3/2025
3.0.367 174 9/3/2025
3.0.366 176 9/3/2025
3.0.365 200 9/3/2025
3.0.364 177 9/3/2025
3.0.363 178 9/3/2025
3.0.362 181 9/3/2025
3.0.361 183 9/3/2025
3.0.360 184 9/3/2025
3.0.359 123 8/22/2025
3.0.358 168 8/17/2025
3.0.357 151 8/17/2025
3.0.356 181 8/15/2025
3.0.355 171 8/15/2025
3.0.354 170 8/15/2025
3.0.353 162 8/15/2025
3.0.352 182 8/14/2025
3.0.351 180 8/12/2025
3.0.350 169 8/12/2025
3.0.349 180 8/12/2025
3.0.348 181 8/11/2025
3.0.347 176 8/11/2025
3.0.346 180 8/11/2025
3.0.345 162 8/11/2025
3.0.344 163 8/11/2025
3.0.343 168 8/11/2025
3.0.342 193 8/11/2025
3.0.341 174 8/11/2025
3.0.340 165 8/11/2025
3.0.339 174 8/11/2025
3.0.338 167 8/11/2025
3.0.337 257 8/6/2025
3.0.336 260 8/5/2025
3.0.335 251 8/5/2025
3.0.334 249 8/5/2025
3.0.333 250 8/5/2025
3.0.332 246 8/5/2025
3.0.331 234 8/5/2025
3.0.330 235 8/5/2025
3.0.329 134 7/29/2025
3.0.328 126 7/29/2025
3.0.327 498 7/24/2025
3.0.326 369 7/9/2025
3.0.325 168 7/9/2025
3.0.324 169 7/9/2025
3.0.323 177 7/9/2025
3.0.322 168 7/9/2025
3.0.321 179 7/9/2025
3.0.320 173 7/8/2025
3.0.319 166 7/8/2025
3.0.318 231 7/3/2025
3.0.317 170 7/3/2025
3.0.316 177 7/3/2025
3.0.315 190 7/1/2025
3.0.314 193 6/28/2025
3.0.313 122 6/28/2025
3.0.312 124 6/28/2025
3.0.311 106 6/28/2025
3.0.310 99 6/28/2025
3.0.309 95 6/28/2025
3.0.308 90 6/28/2025
3.0.307 95 6/27/2025
3.0.306 91 6/27/2025
3.0.305 108 6/27/2025
3.0.304 113 6/27/2025
3.0.303 107 6/27/2025
3.0.302 165 6/25/2025
3.0.301 172 6/25/2025
3.0.300 192 6/23/2025
3.0.298 440 6/11/2025
3.0.297 336 6/11/2025
3.0.296 318 6/11/2025
3.0.295 341 6/11/2025
3.0.294 312 6/11/2025
3.0.293 314 6/10/2025
3.0.292 311 6/10/2025
3.0.291 309 6/10/2025
3.0.290 315 6/10/2025
3.0.289 237 6/3/2025
3.0.288 180 6/3/2025
3.0.287 200 5/28/2025
3.0.286 175 5/28/2025
3.0.285 174 5/27/2025
3.0.284 177 5/27/2025
3.0.283 193 5/27/2025
3.0.282 197 5/27/2025
3.0.281 172 5/27/2025
3.0.280 204 5/27/2025
3.0.279 176 5/27/2025
3.0.278 202 5/27/2025
3.0.277 172 5/27/2025
3.0.276 171 5/27/2025
3.0.275 181 5/26/2025
3.0.274 132 5/25/2025
3.0.273 144 5/25/2025
3.0.272 132 5/23/2025
3.0.271 143 5/23/2025
3.0.270 134 5/23/2025
3.0.269 161 5/23/2025
3.0.268 142 5/23/2025
3.0.267 152 5/23/2025
3.0.266 151 5/23/2025
3.0.265 177 5/23/2025
3.0.264 159 5/23/2025
3.0.263 183 5/23/2025
3.0.262 174 5/23/2025
3.0.261 160 5/23/2025
3.0.260 173 5/23/2025
3.0.259 172 5/22/2025
3.0.258 221 5/19/2025
3.0.257 179 5/18/2025
3.0.256 159 5/18/2025
3.0.255 266 5/15/2025
3.0.254 279 5/14/2025
3.0.253 275 5/14/2025
3.0.252 259 5/14/2025
3.0.251 274 5/14/2025
3.0.250 266 5/13/2025
3.0.249 295 5/13/2025
3.0.248 199 5/8/2025
3.0.247 183 5/8/2025
3.0.246 181 5/8/2025
3.0.245 206 5/8/2025
3.0.244 177 5/8/2025
3.0.243 184 5/8/2025
3.0.242 169 5/8/2025
3.0.241 194 5/8/2025
3.0.240 175 5/8/2025
3.0.239 199 5/8/2025
3.0.238 175 5/7/2025
3.0.237 174 5/7/2025
3.0.236 196 5/7/2025
3.0.235 205 5/7/2025
3.0.234 179 5/6/2025
3.0.233 180 5/6/2025
3.0.232 174 5/6/2025
3.0.231 199 5/6/2025
3.0.230 191 5/6/2025
3.0.229 171 5/6/2025
3.0.228 171 5/6/2025
3.0.227 169 5/6/2025
3.0.226 166 5/6/2025
3.0.225 190 5/6/2025
3.0.224 181 5/6/2025
3.0.223 179 5/6/2025
3.0.222 175 5/5/2025
3.0.221 205 5/5/2025
3.0.220 175 5/5/2025
3.0.219 177 5/5/2025
3.0.218 171 5/5/2025
3.0.217 171 5/5/2025
3.0.216 183 5/5/2025
3.0.215 179 5/5/2025
3.0.214 196 5/5/2025
3.0.213 174 5/5/2025
3.0.212 210 5/5/2025
3.0.211 179 5/5/2025
3.0.210 183 5/5/2025
3.0.209 197 5/5/2025
3.0.208 169 5/5/2025
3.0.207 169 5/5/2025
3.0.206 175 5/5/2025
3.0.203 172 5/5/2025
3.0.202 178 5/5/2025
3.0.201 189 5/4/2025
3.0.200 202 5/4/2025
3.0.199 183 5/4/2025
3.0.198 120 5/3/2025
3.0.197 118 5/2/2025
3.0.196 119 5/2/2025
3.0.195 120 5/2/2025
3.0.194 125 5/2/2025
3.0.193 149 5/2/2025
3.0.192 141 5/2/2025
3.0.191 125 5/2/2025
3.0.190 145 5/2/2025
3.0.189 119 5/2/2025
3.0.188 231 4/29/2025
3.0.187 172 4/27/2025
3.0.186 124 4/26/2025
3.0.185 124 4/26/2025
3.0.184 126 4/26/2025
3.0.183 208 4/24/2025
3.0.182 319 4/10/2025
3.0.181 238 4/9/2025
3.0.180 199 4/9/2025
3.0.179 222 4/9/2025
3.0.178 220 4/9/2025
3.0.177 209 4/8/2025
3.0.176 185 4/8/2025
3.0.175 205 4/8/2025
3.0.174 192 4/8/2025
3.0.173 205 4/8/2025
3.0.172 194 4/8/2025
3.0.171 195 4/8/2025
3.0.170 221 4/8/2025
3.0.169 201 4/8/2025
3.0.168 218 4/8/2025
3.0.167 186 4/8/2025
3.0.166 199 4/8/2025
3.0.165 195 4/8/2025
3.0.164 192 4/8/2025
3.0.163 189 4/8/2025
3.0.162 201 4/8/2025
3.0.161 191 4/8/2025
3.0.160 215 4/8/2025
3.0.159 192 4/8/2025
3.0.158 190 4/8/2025
3.0.157 221 4/8/2025
3.0.156 183 4/8/2025
3.0.155 222 4/8/2025
3.0.154 223 4/7/2025
3.0.153 229 4/7/2025
3.0.152 186 4/7/2025
3.0.151 200 4/7/2025
3.0.150 208 4/7/2025
3.0.149 201 4/7/2025
3.0.148 201 4/7/2025
3.0.147 198 4/7/2025
3.0.146 220 4/7/2025
3.0.145 200 4/7/2025
3.0.144 213 4/7/2025
3.0.143 210 4/7/2025
3.0.142 205 4/7/2025
3.0.141 225 4/7/2025
3.0.140 206 4/7/2025
3.0.139 188 4/7/2025
3.0.138 205 4/7/2025
3.0.137 209 4/7/2025
3.0.136 201 4/7/2025
3.0.135 203 4/7/2025
3.0.134 211 4/7/2025
3.0.133 210 4/7/2025
3.0.132 225 4/7/2025
3.0.131 214 4/7/2025
3.0.130 223 4/7/2025
3.0.129 197 4/7/2025
3.0.128 199 4/7/2025
3.0.127 200 4/7/2025
3.0.126 195 4/7/2025
3.0.125 221 4/7/2025
3.0.124 223 4/7/2025
3.0.123 202 4/7/2025
3.0.122 197 4/7/2025
3.0.121 195 4/6/2025
3.0.120 189 4/6/2025
3.0.119 188 4/6/2025
3.0.118 200 4/6/2025
3.0.117 195 4/6/2025
3.0.116 230 4/6/2025
3.0.115 203 4/6/2025
3.0.114 203 4/6/2025
3.0.113 222 4/6/2025
3.0.112 187 4/6/2025
3.0.111 162 4/6/2025
3.0.110 182 4/6/2025
3.0.109 182 4/6/2025
3.0.108 167 4/6/2025
3.0.107 177 4/6/2025
3.0.106 199 4/6/2025
3.0.105 178 4/6/2025
3.0.104 170 4/6/2025
3.0.103 147 4/6/2025
3.0.102 160 4/6/2025
3.0.101 140 4/6/2025
3.0.100 144 4/6/2025
3.0.99 142 4/6/2025
3.0.98 179 4/6/2025
3.0.97 161 4/6/2025
3.0.96 165 4/6/2025
3.0.95 147 4/6/2025
3.0.94 175 4/6/2025
3.0.93 146 4/5/2025
3.0.92 132 4/5/2025
3.0.91 122 4/5/2025
3.0.90 171 4/5/2025
3.0.89 123 4/5/2025
3.0.88 137 4/5/2025
3.0.87 130 4/5/2025
3.0.86 127 4/5/2025
3.0.85 137 4/5/2025
3.0.84 122 4/5/2025
3.0.83 124 4/5/2025
3.0.82 131 4/5/2025
3.0.81 132 4/5/2025
3.0.80 121 4/5/2025
3.0.79 126 4/5/2025
3.0.78 133 4/5/2025
3.0.77 127 4/5/2025
3.0.76 147 4/4/2025
3.0.75 163 4/4/2025
3.0.74 178 4/4/2025
3.0.73 167 4/4/2025
3.0.72 181 4/4/2025
3.0.71 201 4/4/2025
3.0.70 190 4/4/2025
3.0.69 185 4/4/2025
3.0.68 216 4/4/2025
3.0.67 189 4/4/2025
3.0.66 233 4/4/2025
3.0.65 198 4/4/2025
3.0.64 199 4/2/2025
3.0.63 197 4/1/2025
3.0.62 197 4/1/2025
3.0.61 215 4/1/2025
3.0.60 191 4/1/2025
3.0.59 186 4/1/2025
3.0.58 193 4/1/2025
3.0.57 201 4/1/2025
3.0.56 208 4/1/2025
3.0.55 211 4/1/2025
3.0.54 191 4/1/2025
3.0.53 182 4/1/2025
3.0.52 187 4/1/2025
3.0.51 190 4/1/2025
3.0.50 212 4/1/2025
3.0.49 182 4/1/2025
3.0.48 205 4/1/2025
3.0.47 190 4/1/2025
3.0.46 197 4/1/2025
3.0.45 215 4/1/2025
3.0.44 182 4/1/2025
3.0.43 178 4/1/2025
3.0.41 187 3/31/2025
3.0.40 218 3/31/2025
3.0.39 200 3/31/2025
3.0.38 194 3/31/2025
3.0.37 217 3/31/2025
3.0.36 214 3/31/2025
3.0.35 185 3/31/2025
3.0.34 196 3/30/2025
3.0.33 213 3/30/2025
3.0.32 206 3/29/2025
3.0.31 115 3/29/2025
3.0.30 129 3/29/2025
3.0.29 157 3/29/2025
3.0.28 124 3/29/2025
3.0.27 127 3/29/2025
3.0.26 120 3/29/2025
3.0.25 150 3/29/2025
3.0.24 125 3/29/2025
3.0.23 124 3/29/2025
3.0.22 167 3/27/2025
3.0.21 199 3/27/2025
3.0.20 193 3/27/2025
3.0.19 506 3/26/2025
3.0.18 501 3/26/2025
3.0.17 496 3/26/2025
3.0.16 527 3/26/2025
3.0.15 500 3/25/2025
3.0.14 501 3/25/2025
3.0.13 502 3/25/2025
3.0.12 497 3/25/2025
3.0.11 513 3/25/2025
3.0.10 503 3/25/2025
3.0.9 522 3/25/2025
3.0.8 501 3/25/2025
3.0.7 518 3/25/2025
3.0.6 532 3/25/2025
3.0.5 521 3/25/2025
3.0.4 527 3/24/2025
3.0.3 516 3/24/2025
3.0.2 491 3/24/2025
3.0.1 504 3/24/2025