Soenneker.Blazor.Stripe.Elements
4.0.744
Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Soenneker.Blazor.Stripe.Elements --version 4.0.744
NuGet\Install-Package Soenneker.Blazor.Stripe.Elements -Version 4.0.744
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.744" />
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.744" />
<PackageReference Include="Soenneker.Blazor.Stripe.Elements" />
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.744
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Soenneker.Blazor.Stripe.Elements, 4.0.744"
#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.744
#: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.744
#tool nuget:?package=Soenneker.Blazor.Stripe.Elements&version=4.0.744
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 | Versions 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.
-
net10.0
- Soenneker.Asyncs.Initializers (>= 4.0.45)
- Soenneker.Blazor.Extensions.EventCallback (>= 4.0.445)
- Soenneker.Blazor.Utils.InteropEventListener (>= 4.0.3920)
- Soenneker.Blazor.Utils.ResourceLoader (>= 4.0.1633)
- Soenneker.Dtos.Stripe.Error (>= 4.0.159)
- Soenneker.Enums.CurrencyCodes (>= 4.0.61)
- Soenneker.Quark.Components.Core.Cancellable (>= 4.0.60)
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.810 | 0 | 5/2/2026 |
| 4.0.809 | 0 | 5/2/2026 |
| 4.0.808 | 0 | 5/2/2026 |
| 4.0.806 | 0 | 5/2/2026 |
| 4.0.805 | 0 | 5/1/2026 |
| 4.0.804 | 25 | 5/1/2026 |
| 4.0.803 | 31 | 5/1/2026 |
| 4.0.802 | 124 | 4/27/2026 |
| 4.0.801 | 88 | 4/24/2026 |
| 4.0.800 | 95 | 4/24/2026 |
| 4.0.799 | 88 | 4/24/2026 |
| 4.0.797 | 89 | 4/24/2026 |
| 4.0.796 | 94 | 4/23/2026 |
| 4.0.795 | 92 | 4/23/2026 |
| 4.0.792 | 104 | 4/23/2026 |
| 4.0.789 | 94 | 4/23/2026 |
| 4.0.787 | 95 | 4/23/2026 |
| 4.0.786 | 94 | 4/23/2026 |
| 4.0.784 | 86 | 4/21/2026 |
| 4.0.744 | 90 | 3/25/2026 |
Loading failed
Update actions/deploy-pages action to v5 (#1281)