# Blazor.PersianDatePicker
[](https://www.nuget.org/packages/Blazor.PersianDatePicker/)
[](https://raw.githubusercontent.com/farshaddavoudi/Blazor.PersianDatePicker/master/LICENSE)
*After v2.0.0:*
*Important fix in v3.2.0:*
- When we set the bound parameter value to some date by code (for example in `OnInitialize` method of our page) and then click on the input, the selected date in the datepicker was always today, not that date. It is resolved now. Thanks to [@EsmaeelAmarloo](https://github.com/EsmaeelAmarloo) for creating [the issue](https://github.com/farshaddavoudi/Blazor.PersianDatePicker/issues/60#issuecomment-1820790657).
## Compatibility:
It is compatible and installable on all .NET5, .NET6, .NET7 and .NET8 Blazor projects
## Usage:
1- Install **Blazor.PersianDatePicker** from Nuget.org
2- Add `` to your **index.html** or **_Host.cshtml** or **App.razor** *(in .NET8)*
3- Add `` to your **index.html** or **_Host.cshtml** or **App.razor** *(in .NET8)*
4- Add `@using Blazor.PersianDatePicker` to **_imports.razor**
5- Use the component **InputPersianDatePicker**
## Options:
```csharp
```
> #### 💡 You can add multi-instances of InputPersianDatePicker components on a page and all of them work independently without any problem
## Sample template for fast usage:
#### Copy from here then paste in your project; change some options and you're done.
```razor
```
## Performance:
* `js` size (gzipped) ⇒ **35 kb**
* `css` size (gzipped) ⇒ **5 kb**
* `dll` size (gzipped) ⇒ **9 kb**
## Special Thanks:
*This project is ported from [pwt.datepicker](https://github.com/babakhani/pwt.datepicker) project with a lot of customizations and optimizations for easy and fast use for Blazor applications. Therefore, I appreciate the great effort of Reza Babakhani @babakhani and all contributors of that project*