Soenneker.Blazor.Stripe.Elements 3.0.273

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.273
                    
NuGet\Install-Package Soenneker.Blazor.Stripe.Elements -Version 3.0.273
                    
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.273" />
                    
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.273" />
                    
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.273
                    
#r "nuget: Soenneker.Blazor.Stripe.Elements, 3.0.273"
                    
#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.273
                    
#: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.273
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Blazor.Stripe.Elements&version=3.0.273
                    
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.418 51 9/30/2025
3.0.417 52 9/30/2025
3.0.416 47 9/30/2025
3.0.415 56 9/30/2025
3.0.414 87 9/26/2025
3.0.413 192 9/22/2025
3.0.412 165 9/20/2025
3.0.411 178 9/20/2025
3.0.410 177 9/20/2025
3.0.409 244 9/19/2025
3.0.408 290 9/19/2025
3.0.407 287 9/18/2025
3.0.406 286 9/18/2025
3.0.405 276 9/17/2025
3.0.404 277 9/17/2025
3.0.403 280 9/17/2025
3.0.402 287 9/17/2025
3.0.401 292 9/17/2025
3.0.400 282 9/17/2025
3.0.399 296 9/16/2025
3.0.398 290 9/16/2025
3.0.397 284 9/16/2025
3.0.396 155 9/10/2025
3.0.395 151 9/10/2025
3.0.394 152 9/10/2025
3.0.393 155 9/9/2025
3.0.392 163 9/9/2025
3.0.391 159 9/9/2025
3.0.390 158 9/9/2025
3.0.389 153 9/9/2025
3.0.388 155 9/9/2025
3.0.387 154 9/9/2025
3.0.386 153 9/9/2025
3.0.385 141 9/7/2025
3.0.384 136 9/6/2025
3.0.383 127 9/6/2025
3.0.382 129 9/6/2025
3.0.381 135 9/6/2025
3.0.380 142 9/6/2025
3.0.379 104 9/5/2025
3.0.378 195 9/4/2025
3.0.377 184 9/4/2025
3.0.376 165 9/4/2025
3.0.375 165 9/4/2025
3.0.374 159 9/4/2025
3.0.373 177 9/3/2025
3.0.372 167 9/3/2025
3.0.371 171 9/3/2025
3.0.370 171 9/3/2025
3.0.369 169 9/3/2025
3.0.368 170 9/3/2025
3.0.367 166 9/3/2025
3.0.366 156 9/3/2025
3.0.365 191 9/3/2025
3.0.364 161 9/3/2025
3.0.363 157 9/3/2025
3.0.362 161 9/3/2025
3.0.361 165 9/3/2025
3.0.360 171 9/3/2025
3.0.359 104 8/22/2025
3.0.358 146 8/17/2025
3.0.357 130 8/17/2025
3.0.356 162 8/15/2025
3.0.355 150 8/15/2025
3.0.354 163 8/15/2025
3.0.353 143 8/15/2025
3.0.352 162 8/14/2025
3.0.351 158 8/12/2025
3.0.350 163 8/12/2025
3.0.349 164 8/12/2025
3.0.348 149 8/11/2025
3.0.347 167 8/11/2025
3.0.346 172 8/11/2025
3.0.345 156 8/11/2025
3.0.344 155 8/11/2025
3.0.343 152 8/11/2025
3.0.342 166 8/11/2025
3.0.341 156 8/11/2025
3.0.340 146 8/11/2025
3.0.339 157 8/11/2025
3.0.338 154 8/11/2025
3.0.337 234 8/6/2025
3.0.336 254 8/5/2025
3.0.335 233 8/5/2025
3.0.334 238 8/5/2025
3.0.333 231 8/5/2025
3.0.332 239 8/5/2025
3.0.331 216 8/5/2025
3.0.330 217 8/5/2025
3.0.329 115 7/29/2025
3.0.328 108 7/29/2025
3.0.327 490 7/24/2025
3.0.326 313 7/9/2025
3.0.325 150 7/9/2025
3.0.324 148 7/9/2025
3.0.323 160 7/9/2025
3.0.322 150 7/9/2025
3.0.321 162 7/9/2025
3.0.320 153 7/8/2025
3.0.319 147 7/8/2025
3.0.318 212 7/3/2025
3.0.317 149 7/3/2025
3.0.316 159 7/3/2025
3.0.315 174 7/1/2025
3.0.314 158 6/28/2025
3.0.313 103 6/28/2025
3.0.312 107 6/28/2025
3.0.311 79 6/28/2025
3.0.310 90 6/28/2025
3.0.309 77 6/28/2025
3.0.308 75 6/28/2025
3.0.307 78 6/27/2025
3.0.306 76 6/27/2025
3.0.305 98 6/27/2025
3.0.304 86 6/27/2025
3.0.303 100 6/27/2025
3.0.302 152 6/25/2025
3.0.301 153 6/25/2025
3.0.300 167 6/23/2025
3.0.298 413 6/11/2025
3.0.297 317 6/11/2025
3.0.296 301 6/11/2025
3.0.295 309 6/11/2025
3.0.294 306 6/11/2025
3.0.293 294 6/10/2025
3.0.292 305 6/10/2025
3.0.291 289 6/10/2025
3.0.290 310 6/10/2025
3.0.289 216 6/3/2025
3.0.288 171 6/3/2025
3.0.287 185 5/28/2025
3.0.286 158 5/28/2025
3.0.285 157 5/27/2025
3.0.284 171 5/27/2025
3.0.283 174 5/27/2025
3.0.282 170 5/27/2025
3.0.281 166 5/27/2025
3.0.280 185 5/27/2025
3.0.279 169 5/27/2025
3.0.278 174 5/27/2025
3.0.277 166 5/27/2025
3.0.276 164 5/27/2025
3.0.275 174 5/26/2025
3.0.274 115 5/25/2025
3.0.273 125 5/25/2025
3.0.272 105 5/23/2025
3.0.271 120 5/23/2025
3.0.270 125 5/23/2025
3.0.269 137 5/23/2025
3.0.268 127 5/23/2025
3.0.267 135 5/23/2025
3.0.266 147 5/23/2025
3.0.265 151 5/23/2025
3.0.264 152 5/23/2025
3.0.263 162 5/23/2025
3.0.262 153 5/23/2025
3.0.261 156 5/23/2025
3.0.260 155 5/23/2025
3.0.259 158 5/22/2025
3.0.258 201 5/19/2025
3.0.257 161 5/18/2025
3.0.256 139 5/18/2025
3.0.255 246 5/15/2025
3.0.254 253 5/14/2025
3.0.253 268 5/14/2025
3.0.252 249 5/14/2025
3.0.251 263 5/14/2025
3.0.250 250 5/13/2025
3.0.249 278 5/13/2025
3.0.248 192 5/8/2025
3.0.247 175 5/8/2025
3.0.246 162 5/8/2025
3.0.245 190 5/8/2025
3.0.244 171 5/8/2025
3.0.243 166 5/8/2025
3.0.242 155 5/8/2025
3.0.241 181 5/8/2025
3.0.240 159 5/8/2025
3.0.239 173 5/8/2025
3.0.238 170 5/7/2025
3.0.237 159 5/7/2025
3.0.236 176 5/7/2025
3.0.235 176 5/7/2025
3.0.234 171 5/6/2025
3.0.233 164 5/6/2025
3.0.232 158 5/6/2025
3.0.231 186 5/6/2025
3.0.230 169 5/6/2025
3.0.229 158 5/6/2025
3.0.228 165 5/6/2025
3.0.227 163 5/6/2025
3.0.226 150 5/6/2025
3.0.225 165 5/6/2025
3.0.224 164 5/6/2025
3.0.223 173 5/6/2025
3.0.222 162 5/5/2025
3.0.221 177 5/5/2025
3.0.220 158 5/5/2025
3.0.219 172 5/5/2025
3.0.218 154 5/5/2025
3.0.217 156 5/5/2025
3.0.216 173 5/5/2025
3.0.215 172 5/5/2025
3.0.214 182 5/5/2025
3.0.213 156 5/5/2025
3.0.212 183 5/5/2025
3.0.211 171 5/5/2025
3.0.210 163 5/5/2025
3.0.209 183 5/5/2025
3.0.208 158 5/5/2025
3.0.207 154 5/5/2025
3.0.206 170 5/5/2025
3.0.203 165 5/5/2025
3.0.202 161 5/5/2025
3.0.201 172 5/4/2025
3.0.200 185 5/4/2025
3.0.199 168 5/4/2025
3.0.198 100 5/3/2025
3.0.197 102 5/2/2025
3.0.196 112 5/2/2025
3.0.195 105 5/2/2025
3.0.194 104 5/2/2025
3.0.193 135 5/2/2025
3.0.192 118 5/2/2025
3.0.191 107 5/2/2025
3.0.190 121 5/2/2025
3.0.189 100 5/2/2025
3.0.188 221 4/29/2025
3.0.187 164 4/27/2025
3.0.186 113 4/26/2025
3.0.185 101 4/26/2025
3.0.184 109 4/26/2025
3.0.183 186 4/24/2025
3.0.182 295 4/10/2025
3.0.181 230 4/9/2025
3.0.180 183 4/9/2025
3.0.179 204 4/9/2025
3.0.178 206 4/9/2025
3.0.177 189 4/8/2025
3.0.176 171 4/8/2025
3.0.175 191 4/8/2025
3.0.174 176 4/8/2025
3.0.173 189 4/8/2025
3.0.172 176 4/8/2025
3.0.171 178 4/8/2025
3.0.170 191 4/8/2025
3.0.169 186 4/8/2025
3.0.168 201 4/8/2025
3.0.167 169 4/8/2025
3.0.166 182 4/8/2025
3.0.165 180 4/8/2025
3.0.164 176 4/8/2025
3.0.163 173 4/8/2025
3.0.162 173 4/8/2025
3.0.161 186 4/8/2025
3.0.160 200 4/8/2025
3.0.159 176 4/8/2025
3.0.158 184 4/8/2025
3.0.157 206 4/8/2025
3.0.156 168 4/8/2025
3.0.155 197 4/8/2025
3.0.154 210 4/7/2025
3.0.153 201 4/7/2025
3.0.152 169 4/7/2025
3.0.151 182 4/7/2025
3.0.150 202 4/7/2025
3.0.149 183 4/7/2025
3.0.148 193 4/7/2025
3.0.147 193 4/7/2025
3.0.146 204 4/7/2025
3.0.145 183 4/7/2025
3.0.144 195 4/7/2025
3.0.143 192 4/7/2025
3.0.142 185 4/7/2025
3.0.141 207 4/7/2025
3.0.140 185 4/7/2025
3.0.139 172 4/7/2025
3.0.138 194 4/7/2025
3.0.137 192 4/7/2025
3.0.136 194 4/7/2025
3.0.135 187 4/7/2025
3.0.134 205 4/7/2025
3.0.133 189 4/7/2025
3.0.132 201 4/7/2025
3.0.131 196 4/7/2025
3.0.130 193 4/7/2025
3.0.129 181 4/7/2025
3.0.128 184 4/7/2025
3.0.127 190 4/7/2025
3.0.126 180 4/7/2025
3.0.125 205 4/7/2025
3.0.124 197 4/7/2025
3.0.123 191 4/7/2025
3.0.122 189 4/7/2025
3.0.121 177 4/6/2025
3.0.120 173 4/6/2025
3.0.119 183 4/6/2025
3.0.118 183 4/6/2025
3.0.117 185 4/6/2025
3.0.116 211 4/6/2025
3.0.115 192 4/6/2025
3.0.114 193 4/6/2025
3.0.113 193 4/6/2025
3.0.112 167 4/6/2025
3.0.111 155 4/6/2025
3.0.110 167 4/6/2025
3.0.109 176 4/6/2025
3.0.108 152 4/6/2025
3.0.107 159 4/6/2025
3.0.106 169 4/6/2025
3.0.105 168 4/6/2025
3.0.104 146 4/6/2025
3.0.103 136 4/6/2025
3.0.102 140 4/6/2025
3.0.101 125 4/6/2025
3.0.100 127 4/6/2025
3.0.99 126 4/6/2025
3.0.98 145 4/6/2025
3.0.97 136 4/6/2025
3.0.96 139 4/6/2025
3.0.95 132 4/6/2025
3.0.94 154 4/6/2025
3.0.93 130 4/5/2025
3.0.92 113 4/5/2025
3.0.91 116 4/5/2025
3.0.90 139 4/5/2025
3.0.89 104 4/5/2025
3.0.88 129 4/5/2025
3.0.87 124 4/5/2025
3.0.86 110 4/5/2025
3.0.85 121 4/5/2025
3.0.84 105 4/5/2025
3.0.83 109 4/5/2025
3.0.82 123 4/5/2025
3.0.81 128 4/5/2025
3.0.80 102 4/5/2025
3.0.79 107 4/5/2025
3.0.78 116 4/5/2025
3.0.77 111 4/5/2025
3.0.76 132 4/4/2025
3.0.75 141 4/4/2025
3.0.74 168 4/4/2025
3.0.73 152 4/4/2025
3.0.72 163 4/4/2025
3.0.71 174 4/4/2025
3.0.70 183 4/4/2025
3.0.69 174 4/4/2025
3.0.68 207 4/4/2025
3.0.67 182 4/4/2025
3.0.66 202 4/4/2025
3.0.65 193 4/4/2025
3.0.64 186 4/2/2025
3.0.63 174 4/1/2025
3.0.62 170 4/1/2025
3.0.61 200 4/1/2025
3.0.60 183 4/1/2025
3.0.59 167 4/1/2025
3.0.58 173 4/1/2025
3.0.57 182 4/1/2025
3.0.56 188 4/1/2025
3.0.55 175 4/1/2025
3.0.54 183 4/1/2025
3.0.53 166 4/1/2025
3.0.52 170 4/1/2025
3.0.51 179 4/1/2025
3.0.50 196 4/1/2025
3.0.49 176 4/1/2025
3.0.48 179 4/1/2025
3.0.47 170 4/1/2025
3.0.46 180 4/1/2025
3.0.45 180 4/1/2025
3.0.44 164 4/1/2025
3.0.43 172 4/1/2025
3.0.41 179 3/31/2025
3.0.40 191 3/31/2025
3.0.39 191 3/31/2025
3.0.38 187 3/31/2025
3.0.37 192 3/31/2025
3.0.36 182 3/31/2025
3.0.35 167 3/31/2025
3.0.34 168 3/30/2025
3.0.33 188 3/30/2025
3.0.32 178 3/29/2025
3.0.31 106 3/29/2025
3.0.30 110 3/29/2025
3.0.29 122 3/29/2025
3.0.28 104 3/29/2025
3.0.27 118 3/29/2025
3.0.26 103 3/29/2025
3.0.25 120 3/29/2025
3.0.24 106 3/29/2025
3.0.23 117 3/29/2025
3.0.22 148 3/27/2025
3.0.21 176 3/27/2025
3.0.20 163 3/27/2025
3.0.19 493 3/26/2025
3.0.18 482 3/26/2025
3.0.17 481 3/26/2025
3.0.16 507 3/26/2025
3.0.15 492 3/25/2025
3.0.14 484 3/25/2025
3.0.13 483 3/25/2025
3.0.12 489 3/25/2025
3.0.11 497 3/25/2025
3.0.10 491 3/25/2025
3.0.9 504 3/25/2025
3.0.8 484 3/25/2025
3.0.7 505 3/25/2025
3.0.6 518 3/25/2025
3.0.5 500 3/25/2025
3.0.4 510 3/24/2025
3.0.3 481 3/24/2025
3.0.2 473 3/24/2025
3.0.1 486 3/24/2025