Soenneker.Blazor.Stripe.Elements 3.0.326

Prefix Reserved
dotnet add package Soenneker.Blazor.Stripe.Elements --version 3.0.326
                    
NuGet\Install-Package Soenneker.Blazor.Stripe.Elements -Version 3.0.326
                    
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.326" />
                    
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.326" />
                    
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.326
                    
#r "nuget: Soenneker.Blazor.Stripe.Elements, 3.0.326"
                    
#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.
#addin nuget:?package=Soenneker.Blazor.Stripe.Elements&version=3.0.326
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Blazor.Stripe.Elements&version=3.0.326
                    
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.326 116 7/9/2025
3.0.325 105 7/9/2025
3.0.324 113 7/9/2025
3.0.323 117 7/9/2025
3.0.322 116 7/9/2025
3.0.321 116 7/9/2025
3.0.320 115 7/8/2025
3.0.319 112 7/8/2025
3.0.318 186 7/3/2025
3.0.317 124 7/3/2025
3.0.316 126 7/3/2025
3.0.315 142 7/1/2025
3.0.314 121 6/28/2025
3.0.313 80 6/28/2025
3.0.312 84 6/28/2025
3.0.311 56 6/28/2025
3.0.310 57 6/28/2025
3.0.309 55 6/28/2025
3.0.308 52 6/28/2025
3.0.307 55 6/27/2025
3.0.306 53 6/27/2025
3.0.305 67 6/27/2025
3.0.304 66 6/27/2025
3.0.303 69 6/27/2025
3.0.302 129 6/25/2025
3.0.301 132 6/25/2025
3.0.300 141 6/23/2025
3.0.298 386 6/11/2025
3.0.297 287 6/11/2025
3.0.296 279 6/11/2025
3.0.295 279 6/11/2025
3.0.294 277 6/11/2025
3.0.293 273 6/10/2025
3.0.292 276 6/10/2025
3.0.291 270 6/10/2025
3.0.290 279 6/10/2025
3.0.289 196 6/3/2025
3.0.288 141 6/3/2025
3.0.287 165 5/28/2025
3.0.286 136 5/28/2025
3.0.285 137 5/27/2025
3.0.284 141 5/27/2025
3.0.283 134 5/27/2025
3.0.282 139 5/27/2025
3.0.281 136 5/27/2025
3.0.280 142 5/27/2025
3.0.279 135 5/27/2025
3.0.278 144 5/27/2025
3.0.277 137 5/27/2025
3.0.276 134 5/27/2025
3.0.275 143 5/26/2025
3.0.274 93 5/25/2025
3.0.273 94 5/25/2025
3.0.272 71 5/23/2025
3.0.271 89 5/23/2025
3.0.270 95 5/23/2025
3.0.269 103 5/23/2025
3.0.268 107 5/23/2025
3.0.267 114 5/23/2025
3.0.266 117 5/23/2025
3.0.265 117 5/23/2025
3.0.264 122 5/23/2025
3.0.263 119 5/23/2025
3.0.262 133 5/23/2025
3.0.261 126 5/23/2025
3.0.260 131 5/23/2025
3.0.259 138 5/22/2025
3.0.258 170 5/19/2025
3.0.257 140 5/18/2025
3.0.256 97 5/18/2025
3.0.255 226 5/15/2025
3.0.254 224 5/14/2025
3.0.253 239 5/14/2025
3.0.252 219 5/14/2025
3.0.251 224 5/14/2025
3.0.250 220 5/13/2025
3.0.249 244 5/13/2025
3.0.248 162 5/8/2025
3.0.247 136 5/8/2025
3.0.246 140 5/8/2025
3.0.245 149 5/8/2025
3.0.244 142 5/8/2025
3.0.243 138 5/8/2025
3.0.242 136 5/8/2025
3.0.241 142 5/8/2025
3.0.240 139 5/8/2025
3.0.239 140 5/8/2025
3.0.238 139 5/7/2025
3.0.237 139 5/7/2025
3.0.236 155 5/7/2025
3.0.235 140 5/7/2025
3.0.234 140 5/6/2025
3.0.233 144 5/6/2025
3.0.232 135 5/6/2025
3.0.231 141 5/6/2025
3.0.230 139 5/6/2025
3.0.229 137 5/6/2025
3.0.228 135 5/6/2025
3.0.227 134 5/6/2025
3.0.226 130 5/6/2025
3.0.225 133 5/6/2025
3.0.224 144 5/6/2025
3.0.223 141 5/6/2025
3.0.222 138 5/5/2025
3.0.221 142 5/5/2025
3.0.220 138 5/5/2025
3.0.219 141 5/5/2025
3.0.218 133 5/5/2025
3.0.217 136 5/5/2025
3.0.216 142 5/5/2025
3.0.215 141 5/5/2025
3.0.214 144 5/5/2025
3.0.213 135 5/5/2025
3.0.212 148 5/5/2025
3.0.211 140 5/5/2025
3.0.210 136 5/5/2025
3.0.209 138 5/5/2025
3.0.208 134 5/5/2025
3.0.207 135 5/5/2025
3.0.206 139 5/5/2025
3.0.203 136 5/5/2025
3.0.202 141 5/5/2025
3.0.201 136 5/4/2025
3.0.200 142 5/4/2025
3.0.199 146 5/4/2025
3.0.198 65 5/3/2025
3.0.197 82 5/2/2025
3.0.196 82 5/2/2025
3.0.195 85 5/2/2025
3.0.194 85 5/2/2025
3.0.193 93 5/2/2025
3.0.192 90 5/2/2025
3.0.191 87 5/2/2025
3.0.190 82 5/2/2025
3.0.189 81 5/2/2025
3.0.188 190 4/29/2025
3.0.187 135 4/27/2025
3.0.186 83 4/26/2025
3.0.185 71 4/26/2025
3.0.184 89 4/26/2025
3.0.183 157 4/24/2025
3.0.182 261 4/10/2025
3.0.181 201 4/9/2025
3.0.180 163 4/9/2025
3.0.179 165 4/9/2025
3.0.178 162 4/9/2025
3.0.177 153 4/8/2025
3.0.176 153 4/8/2025
3.0.175 153 4/8/2025
3.0.174 157 4/8/2025
3.0.173 158 4/8/2025
3.0.172 156 4/8/2025
3.0.171 157 4/8/2025
3.0.170 162 4/8/2025
3.0.169 156 4/8/2025
3.0.168 154 4/8/2025
3.0.167 150 4/8/2025
3.0.166 162 4/8/2025
3.0.165 158 4/8/2025
3.0.164 155 4/8/2025
3.0.163 153 4/8/2025
3.0.162 153 4/8/2025
3.0.161 156 4/8/2025
3.0.160 161 4/8/2025
3.0.159 156 4/8/2025
3.0.158 154 4/8/2025
3.0.157 158 4/8/2025
3.0.156 149 4/8/2025
3.0.155 156 4/8/2025
3.0.154 167 4/7/2025
3.0.153 169 4/7/2025
3.0.152 150 4/7/2025
3.0.151 161 4/7/2025
3.0.150 173 4/7/2025
3.0.149 164 4/7/2025
3.0.148 163 4/7/2025
3.0.147 157 4/7/2025
3.0.146 167 4/7/2025
3.0.145 164 4/7/2025
3.0.144 155 4/7/2025
3.0.143 174 4/7/2025
3.0.142 163 4/7/2025
3.0.141 170 4/7/2025
3.0.140 156 4/7/2025
3.0.139 152 4/7/2025
3.0.138 162 4/7/2025
3.0.137 170 4/7/2025
3.0.136 164 4/7/2025
3.0.135 165 4/7/2025
3.0.134 174 4/7/2025
3.0.133 159 4/7/2025
3.0.132 167 4/7/2025
3.0.131 166 4/7/2025
3.0.130 164 4/7/2025
3.0.129 161 4/7/2025
3.0.128 165 4/7/2025
3.0.127 160 4/7/2025
3.0.126 159 4/7/2025
3.0.125 160 4/7/2025
3.0.124 157 4/7/2025
3.0.123 151 4/7/2025
3.0.122 161 4/7/2025
3.0.121 158 4/6/2025
3.0.120 154 4/6/2025
3.0.119 153 4/6/2025
3.0.118 155 4/6/2025
3.0.117 156 4/6/2025
3.0.116 167 4/6/2025
3.0.115 163 4/6/2025
3.0.114 163 4/6/2025
3.0.113 159 4/6/2025
3.0.112 131 4/6/2025
3.0.111 125 4/6/2025
3.0.110 129 4/6/2025
3.0.109 138 4/6/2025
3.0.108 132 4/6/2025
3.0.107 139 4/6/2025
3.0.106 139 4/6/2025
3.0.105 138 4/6/2025
3.0.104 112 4/6/2025
3.0.103 107 4/6/2025
3.0.102 113 4/6/2025
3.0.101 104 4/6/2025
3.0.100 107 4/6/2025
3.0.99 106 4/6/2025
3.0.98 114 4/6/2025
3.0.97 100 4/6/2025
3.0.96 117 4/6/2025
3.0.95 112 4/6/2025
3.0.94 126 4/6/2025
3.0.93 111 4/5/2025
3.0.92 89 4/5/2025
3.0.91 85 4/5/2025
3.0.90 101 4/5/2025
3.0.89 84 4/5/2025
3.0.88 87 4/5/2025
3.0.87 93 4/5/2025
3.0.86 90 4/5/2025
3.0.85 91 4/5/2025
3.0.84 84 4/5/2025
3.0.83 88 4/5/2025
3.0.82 90 4/5/2025
3.0.81 96 4/5/2025
3.0.80 79 4/5/2025
3.0.79 86 4/5/2025
3.0.78 85 4/5/2025
3.0.77 93 4/5/2025
3.0.76 92 4/4/2025
3.0.75 96 4/4/2025
3.0.74 137 4/4/2025
3.0.73 130 4/4/2025
3.0.72 143 4/4/2025
3.0.71 145 4/4/2025
3.0.70 151 4/4/2025
3.0.69 145 4/4/2025
3.0.68 174 4/4/2025
3.0.67 152 4/4/2025
3.0.66 167 4/4/2025
3.0.65 155 4/4/2025
3.0.64 153 4/2/2025
3.0.63 137 4/1/2025
3.0.62 151 4/1/2025
3.0.61 150 4/1/2025
3.0.60 153 4/1/2025
3.0.59 146 4/1/2025
3.0.58 154 4/1/2025
3.0.57 142 4/1/2025
3.0.56 150 4/1/2025
3.0.55 144 4/1/2025
3.0.54 154 4/1/2025
3.0.53 146 4/1/2025
3.0.52 140 4/1/2025
3.0.51 149 4/1/2025
3.0.50 153 4/1/2025
3.0.49 145 4/1/2025
3.0.48 152 4/1/2025
3.0.47 150 4/1/2025
3.0.46 145 4/1/2025
3.0.45 151 4/1/2025
3.0.44 145 4/1/2025
3.0.43 142 4/1/2025
3.0.41 146 3/31/2025
3.0.40 149 3/31/2025
3.0.39 160 3/31/2025
3.0.38 147 3/31/2025
3.0.37 161 3/31/2025
3.0.36 158 3/31/2025
3.0.35 147 3/31/2025
3.0.34 146 3/30/2025
3.0.33 149 3/30/2025
3.0.32 143 3/29/2025
3.0.31 75 3/29/2025
3.0.30 80 3/29/2025
3.0.29 89 3/29/2025
3.0.28 85 3/29/2025
3.0.27 89 3/29/2025
3.0.26 82 3/29/2025
3.0.25 83 3/29/2025
3.0.24 89 3/29/2025
3.0.23 88 3/29/2025
3.0.22 129 3/27/2025
3.0.21 133 3/27/2025
3.0.20 135 3/27/2025
3.0.19 463 3/26/2025
3.0.18 461 3/26/2025
3.0.17 458 3/26/2025
3.0.16 467 3/26/2025
3.0.15 461 3/25/2025
3.0.14 464 3/25/2025
3.0.13 464 3/25/2025
3.0.12 460 3/25/2025
3.0.11 466 3/25/2025
3.0.10 460 3/25/2025
3.0.9 465 3/25/2025
3.0.8 464 3/25/2025
3.0.7 476 3/25/2025
3.0.6 475 3/25/2025
3.0.5 481 3/25/2025
3.0.4 483 3/24/2025
3.0.3 458 3/24/2025
3.0.2 453 3/24/2025
3.0.1 461 3/24/2025