SophiChain.BlazorPersianDatePicker 1.0.1

There is a newer version of this package available.
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" />
                    
Directory.Packages.props
<PackageReference Include="SophiChain.BlazorPersianDatePicker" />
                    
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 SophiChain.BlazorPersianDatePicker --version 1.0.1
                    
#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
                    
Install SophiChain.BlazorPersianDatePicker as a Cake Addin
#tool nuget:?package=SophiChain.BlazorPersianDatePicker&version=1.0.1
                    
Install SophiChain.BlazorPersianDatePicker as a Cake Tool

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.

![NuGet](https://img.shields.io/nuget/v/SophiChain.BlazorPersianDatePicker?style=flat-square)
![Target](https://img.shields.io/badge/.NET-6%2C%207%2C%208%2C%209-blue?style=flat-square)
![License](https://img.shields.io/github/license/SophiChain/SophiChain.BlazorPersianDatePicker?style=flat-square)

---

## πŸš€ 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

  1. Import the component:
@using SophiChain.BlazorPersianDatePicker
  1. Add the date picker to your Blazor page:
<PersianDatePicker @bind-Value="selectedDate" />
  1. 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 ❀️



---

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 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.

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
1.0.2 123 5/22/2025
1.0.1 122 5/22/2025
1.0.0 120 5/22/2025