Soenneker.Blazor.Stripe.Elements 3.0.405

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.405
                    
NuGet\Install-Package Soenneker.Blazor.Stripe.Elements -Version 3.0.405
                    
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.405" />
                    
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.405" />
                    
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.405
                    
#r "nuget: Soenneker.Blazor.Stripe.Elements, 3.0.405"
                    
#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.405
                    
#: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.405
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Blazor.Stripe.Elements&version=3.0.405
                    
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.406 0 9/18/2025
3.0.405 31 9/17/2025
3.0.404 32 9/17/2025
3.0.403 34 9/17/2025
3.0.402 39 9/17/2025
3.0.401 34 9/17/2025
3.0.400 42 9/17/2025
3.0.399 46 9/16/2025
3.0.398 42 9/16/2025
3.0.397 40 9/16/2025
3.0.396 131 9/10/2025
3.0.395 128 9/10/2025
3.0.394 122 9/10/2025
3.0.393 129 9/9/2025
3.0.392 129 9/9/2025
3.0.391 126 9/9/2025
3.0.390 126 9/9/2025
3.0.389 128 9/9/2025
3.0.388 122 9/9/2025
3.0.387 130 9/9/2025
3.0.386 130 9/9/2025
3.0.385 99 9/7/2025
3.0.384 107 9/6/2025
3.0.383 104 9/6/2025
3.0.382 96 9/6/2025
3.0.381 102 9/6/2025
3.0.380 99 9/6/2025
3.0.379 82 9/5/2025
3.0.378 150 9/4/2025
3.0.377 141 9/4/2025
3.0.376 142 9/4/2025
3.0.375 142 9/4/2025
3.0.374 135 9/4/2025
3.0.373 145 9/3/2025
3.0.372 134 9/3/2025
3.0.371 138 9/3/2025
3.0.370 139 9/3/2025
3.0.369 137 9/3/2025
3.0.368 142 9/3/2025
3.0.367 135 9/3/2025
3.0.366 135 9/3/2025
3.0.365 141 9/3/2025
3.0.364 137 9/3/2025
3.0.363 136 9/3/2025
3.0.362 140 9/3/2025
3.0.361 140 9/3/2025
3.0.360 135 9/3/2025
3.0.359 76 8/22/2025
3.0.358 114 8/17/2025
3.0.357 99 8/17/2025
3.0.356 142 8/15/2025
3.0.355 120 8/15/2025
3.0.354 123 8/15/2025
3.0.353 123 8/15/2025
3.0.352 138 8/14/2025
3.0.351 136 8/12/2025
3.0.350 132 8/12/2025
3.0.349 132 8/12/2025
3.0.348 129 8/11/2025
3.0.347 131 8/11/2025
3.0.346 134 8/11/2025
3.0.345 125 8/11/2025
3.0.344 125 8/11/2025
3.0.343 128 8/11/2025
3.0.342 131 8/11/2025
3.0.341 126 8/11/2025
3.0.340 122 8/11/2025
3.0.339 126 8/11/2025
3.0.338 124 8/11/2025
3.0.337 214 8/6/2025
3.0.336 234 8/5/2025
3.0.335 223 8/5/2025
3.0.334 218 8/5/2025
3.0.333 220 8/5/2025
3.0.332 219 8/5/2025
3.0.331 205 8/5/2025
3.0.330 204 8/5/2025
3.0.329 105 7/29/2025
3.0.328 98 7/29/2025
3.0.327 460 7/24/2025
3.0.326 282 7/9/2025
3.0.325 140 7/9/2025
3.0.324 137 7/9/2025
3.0.323 150 7/9/2025
3.0.322 139 7/9/2025
3.0.321 143 7/9/2025
3.0.320 143 7/8/2025
3.0.319 137 7/8/2025
3.0.318 202 7/3/2025
3.0.317 139 7/3/2025
3.0.316 139 7/3/2025
3.0.315 155 7/1/2025
3.0.314 143 6/28/2025
3.0.313 93 6/28/2025
3.0.312 97 6/28/2025
3.0.311 69 6/28/2025
3.0.310 70 6/28/2025
3.0.309 67 6/28/2025
3.0.308 65 6/28/2025
3.0.307 68 6/27/2025
3.0.306 66 6/27/2025
3.0.305 78 6/27/2025
3.0.304 76 6/27/2025
3.0.303 80 6/27/2025
3.0.302 141 6/25/2025
3.0.301 143 6/25/2025
3.0.300 155 6/23/2025
3.0.298 401 6/11/2025
3.0.297 302 6/11/2025
3.0.296 291 6/11/2025
3.0.295 295 6/11/2025
3.0.294 286 6/11/2025
3.0.293 283 6/10/2025
3.0.292 284 6/10/2025
3.0.291 279 6/10/2025
3.0.290 290 6/10/2025
3.0.289 206 6/3/2025
3.0.288 151 6/3/2025
3.0.287 174 5/28/2025
3.0.286 148 5/28/2025
3.0.285 146 5/27/2025
3.0.284 151 5/27/2025
3.0.283 150 5/27/2025
3.0.282 148 5/27/2025
3.0.281 145 5/27/2025
3.0.280 162 5/27/2025
3.0.279 147 5/27/2025
3.0.278 163 5/27/2025
3.0.277 146 5/27/2025
3.0.276 144 5/27/2025
3.0.275 154 5/26/2025
3.0.274 103 5/25/2025
3.0.273 112 5/25/2025
3.0.272 89 5/23/2025
3.0.271 104 5/23/2025
3.0.270 105 5/23/2025
3.0.269 118 5/23/2025
3.0.268 117 5/23/2025
3.0.267 124 5/23/2025
3.0.266 126 5/23/2025
3.0.265 132 5/23/2025
3.0.264 131 5/23/2025
3.0.263 134 5/23/2025
3.0.262 143 5/23/2025
3.0.261 136 5/23/2025
3.0.260 141 5/23/2025
3.0.259 147 5/22/2025
3.0.258 188 5/19/2025
3.0.257 151 5/18/2025
3.0.256 111 5/18/2025
3.0.255 235 5/15/2025
3.0.254 240 5/14/2025
3.0.253 248 5/14/2025
3.0.252 227 5/14/2025
3.0.251 239 5/14/2025
3.0.250 240 5/13/2025
3.0.249 254 5/13/2025
3.0.248 171 5/8/2025
3.0.247 155 5/8/2025
3.0.246 151 5/8/2025
3.0.245 165 5/8/2025
3.0.244 151 5/8/2025
3.0.243 151 5/8/2025
3.0.242 145 5/8/2025
3.0.241 158 5/8/2025
3.0.240 149 5/8/2025
3.0.239 157 5/8/2025
3.0.238 150 5/7/2025
3.0.237 148 5/7/2025
3.0.236 165 5/7/2025
3.0.235 157 5/7/2025
3.0.234 151 5/6/2025
3.0.233 154 5/6/2025
3.0.232 144 5/6/2025
3.0.231 159 5/6/2025
3.0.230 153 5/6/2025
3.0.229 146 5/6/2025
3.0.228 145 5/6/2025
3.0.227 142 5/6/2025
3.0.226 140 5/6/2025
3.0.225 149 5/6/2025
3.0.224 153 5/6/2025
3.0.223 152 5/6/2025
3.0.222 147 5/5/2025
3.0.221 155 5/5/2025
3.0.220 148 5/5/2025
3.0.219 151 5/5/2025
3.0.218 144 5/5/2025
3.0.217 145 5/5/2025
3.0.216 152 5/5/2025
3.0.215 152 5/5/2025
3.0.214 159 5/5/2025
3.0.213 146 5/5/2025
3.0.212 169 5/5/2025
3.0.211 151 5/5/2025
3.0.210 147 5/5/2025
3.0.209 156 5/5/2025
3.0.208 144 5/5/2025
3.0.207 144 5/5/2025
3.0.206 149 5/5/2025
3.0.203 145 5/5/2025
3.0.202 150 5/5/2025
3.0.201 146 5/4/2025
3.0.200 156 5/4/2025
3.0.199 157 5/4/2025
3.0.198 74 5/3/2025
3.0.197 92 5/2/2025
3.0.196 92 5/2/2025
3.0.195 95 5/2/2025
3.0.194 94 5/2/2025
3.0.193 109 5/2/2025
3.0.192 102 5/2/2025
3.0.191 97 5/2/2025
3.0.190 96 5/2/2025
3.0.189 89 5/2/2025
3.0.188 201 4/29/2025
3.0.187 144 4/27/2025
3.0.186 93 4/26/2025
3.0.185 84 4/26/2025
3.0.184 98 4/26/2025
3.0.183 173 4/24/2025
3.0.182 279 4/10/2025
3.0.181 210 4/9/2025
3.0.180 173 4/9/2025
3.0.179 181 4/9/2025
3.0.178 178 4/9/2025
3.0.177 169 4/8/2025
3.0.176 161 4/8/2025
3.0.175 165 4/8/2025
3.0.174 165 4/8/2025
3.0.173 168 4/8/2025
3.0.172 166 4/8/2025
3.0.171 168 4/8/2025
3.0.170 178 4/8/2025
3.0.169 165 4/8/2025
3.0.168 168 4/8/2025
3.0.167 159 4/8/2025
3.0.166 171 4/8/2025
3.0.165 170 4/8/2025
3.0.164 166 4/8/2025
3.0.163 162 4/8/2025
3.0.162 163 4/8/2025
3.0.161 165 4/8/2025
3.0.160 176 4/8/2025
3.0.159 166 4/8/2025
3.0.158 164 4/8/2025
3.0.157 170 4/8/2025
3.0.156 157 4/8/2025
3.0.155 175 4/8/2025
3.0.154 185 4/7/2025
3.0.153 185 4/7/2025
3.0.152 159 4/7/2025
3.0.151 171 4/7/2025
3.0.150 182 4/7/2025
3.0.149 173 4/7/2025
3.0.148 172 4/7/2025
3.0.147 168 4/7/2025
3.0.146 182 4/7/2025
3.0.145 173 4/7/2025
3.0.144 170 4/7/2025
3.0.143 182 4/7/2025
3.0.142 175 4/7/2025
3.0.141 186 4/7/2025
3.0.140 169 4/7/2025
3.0.139 162 4/7/2025
3.0.138 173 4/7/2025
3.0.137 182 4/7/2025
3.0.136 174 4/7/2025
3.0.135 175 4/7/2025
3.0.134 185 4/7/2025
3.0.133 176 4/7/2025
3.0.132 183 4/7/2025
3.0.131 175 4/7/2025
3.0.130 177 4/7/2025
3.0.129 171 4/7/2025
3.0.128 174 4/7/2025
3.0.127 169 4/7/2025
3.0.126 170 4/7/2025
3.0.125 194 4/7/2025
3.0.124 167 4/7/2025
3.0.123 165 4/7/2025
3.0.122 169 4/7/2025
3.0.121 167 4/6/2025
3.0.120 163 4/6/2025
3.0.119 162 4/6/2025
3.0.118 165 4/6/2025
3.0.117 164 4/6/2025
3.0.116 185 4/6/2025
3.0.115 171 4/6/2025
3.0.114 173 4/6/2025
3.0.113 175 4/6/2025
3.0.112 145 4/6/2025
3.0.111 135 4/6/2025
3.0.110 143 4/6/2025
3.0.109 148 4/6/2025
3.0.108 141 4/6/2025
3.0.107 149 4/6/2025
3.0.106 154 4/6/2025
3.0.105 147 4/6/2025
3.0.104 129 4/6/2025
3.0.103 116 4/6/2025
3.0.102 127 4/6/2025
3.0.101 115 4/6/2025
3.0.100 117 4/6/2025
3.0.99 116 4/6/2025
3.0.98 130 4/6/2025
3.0.97 120 4/6/2025
3.0.96 127 4/6/2025
3.0.95 122 4/6/2025
3.0.94 140 4/6/2025
3.0.93 120 4/5/2025
3.0.92 103 4/5/2025
3.0.91 95 4/5/2025
3.0.90 115 4/5/2025
3.0.89 93 4/5/2025
3.0.88 99 4/5/2025
3.0.87 103 4/5/2025
3.0.86 100 4/5/2025
3.0.85 102 4/5/2025
3.0.84 95 4/5/2025
3.0.83 99 4/5/2025
3.0.82 102 4/5/2025
3.0.81 106 4/5/2025
3.0.80 92 4/5/2025
3.0.79 97 4/5/2025
3.0.78 96 4/5/2025
3.0.77 104 4/5/2025
3.0.76 108 4/4/2025
3.0.75 116 4/4/2025
3.0.74 148 4/4/2025
3.0.73 142 4/4/2025
3.0.72 153 4/4/2025
3.0.71 159 4/4/2025
3.0.70 160 4/4/2025
3.0.69 156 4/4/2025
3.0.68 187 4/4/2025
3.0.67 161 4/4/2025
3.0.66 186 4/4/2025
3.0.65 165 4/4/2025
3.0.64 166 4/2/2025
3.0.63 156 4/1/2025
3.0.62 160 4/1/2025
3.0.61 167 4/1/2025
3.0.60 162 4/1/2025
3.0.59 155 4/1/2025
3.0.58 162 4/1/2025
3.0.57 159 4/1/2025
3.0.56 165 4/1/2025
3.0.55 160 4/1/2025
3.0.54 163 4/1/2025
3.0.53 156 4/1/2025
3.0.52 150 4/1/2025
3.0.51 161 4/1/2025
3.0.50 171 4/1/2025
3.0.49 156 4/1/2025
3.0.48 165 4/1/2025
3.0.47 160 4/1/2025
3.0.46 156 4/1/2025
3.0.45 167 4/1/2025
3.0.44 153 4/1/2025
3.0.43 151 4/1/2025
3.0.41 159 3/31/2025
3.0.40 181 3/31/2025
3.0.39 170 3/31/2025
3.0.38 157 3/31/2025
3.0.37 181 3/31/2025
3.0.36 169 3/31/2025
3.0.35 157 3/31/2025
3.0.34 158 3/30/2025
3.0.33 163 3/30/2025
3.0.32 164 3/29/2025
3.0.31 85 3/29/2025
3.0.30 89 3/29/2025
3.0.29 107 3/29/2025
3.0.28 94 3/29/2025
3.0.27 98 3/29/2025
3.0.26 93 3/29/2025
3.0.25 105 3/29/2025
3.0.24 98 3/29/2025
3.0.23 97 3/29/2025
3.0.22 138 3/27/2025
3.0.21 151 3/27/2025
3.0.20 150 3/27/2025
3.0.19 473 3/26/2025
3.0.18 471 3/26/2025
3.0.17 469 3/26/2025
3.0.16 482 3/26/2025
3.0.15 472 3/25/2025
3.0.14 473 3/25/2025
3.0.13 473 3/25/2025
3.0.12 469 3/25/2025
3.0.11 478 3/25/2025
3.0.10 473 3/25/2025
3.0.9 478 3/25/2025
3.0.8 473 3/25/2025
3.0.7 486 3/25/2025
3.0.6 488 3/25/2025
3.0.5 490 3/25/2025
3.0.4 491 3/24/2025
3.0.3 471 3/24/2025
3.0.2 463 3/24/2025
3.0.1 475 3/24/2025