SophiChain.BlazorPersianDatePicker
1.0.1
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 SophiChain.BlazorPersianDatePicker --version 1.0.1
NuGet\Install-Package SophiChain.BlazorPersianDatePicker -Version 1.0.1
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="SophiChain.BlazorPersianDatePicker" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SophiChain.BlazorPersianDatePicker" Version="1.0.1" />
<PackageReference Include="SophiChain.BlazorPersianDatePicker" />
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 SophiChain.BlazorPersianDatePicker --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SophiChain.BlazorPersianDatePicker, 1.0.1"
#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=SophiChain.BlazorPersianDatePicker&version=1.0.1
#tool nuget:?package=SophiChain.BlazorPersianDatePicker&version=1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Hereβs a polished README.md
file for the SophiChain.BlazorPersianDatePicker project, tailored for both developers and NuGet:
# SophiChain.BlazorPersianDatePicker
A modern, lightweight Persian (Jalali) date picker component built for Blazor, supporting multi-targeting from .NET 6 to .NET 9.



---
## π Features
- ποΈ Fully functional Persian (Jalali) calendar
- π¨ Customizable styles and date formats
- π Two-way binding for selected date
- π Localization support (Farsi/English)
- βοΈ Compatible with .NET 6.0 through 9.0
- π§ͺ Lightweight, minimal dependency design
---
## π¦ Installation
Install from [NuGet](https://www.nuget.org/packages/SophiChain.BlazorPersianDatePicker):
```bash
dotnet add package SophiChain.BlazorPersianDatePicker
Or via the Package Manager:
Install-Package SophiChain.BlazorPersianDatePicker
π§βπ» Usage
- Import the component:
@using SophiChain.BlazorPersianDatePicker
- Add the date picker to your Blazor page:
<PersianDatePicker @bind-Value="selectedDate" />
- In your code block:
@code {
private DateTime? selectedDate = DateTime.Now;
}
π§ Configuration Options
Parameter | Type | Description |
---|---|---|
Value |
DateTime? |
The selected date |
OnChange |
EventCallback<DateTime?> |
Called when date changes |
Placeholder |
string |
Input placeholder text |
Disabled |
bool |
Disables the input |
π― Target Frameworks
This package supports the following frameworks:
- .NET 6.0
- .NET 7.0
- .NET 8.0
- .NET 9.0
π οΈ Development
To build and test locally:
git clone https://github.com/SophiChain/SophiChain.BlazorPersianDatePicker.git
cd SophiChain.BlazorPersianDatePicker
dotnet build
π License
This project is licensed under the MIT License.
π‘ Credits
Maintained by the SophiChain team with β€οΈ
π Links
- NuGet: https://www.nuget.org/packages/SophiChain.BlazorPersianDatePicker
- GitHub: https://github.com/SophiChain/SophiChain.BlazorPersianDatePicker
---
Let me know if you want a Farsi version of the README or want to auto-embed this in the NuGet package using `<PackageReadmeFile>`!
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. 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.
-
net6.0
- Microsoft.AspNetCore.Components (>= 6.0.25)
- Microsoft.AspNetCore.Components.Web (>= 6.0.25)
-
net7.0
- Microsoft.AspNetCore.Components (>= 7.0.14)
- Microsoft.AspNetCore.Components.Web (>= 7.0.14)
-
net8.0
- Microsoft.AspNetCore.Components (>= 8.0.5)
- Microsoft.AspNetCore.Components.Web (>= 8.0.5)
-
net9.0
- Microsoft.AspNetCore.Components (>= 9.0.5)
- Microsoft.AspNetCore.Components.Web (>= 9.0.5)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.