Shadcn Persian Calendar

screenshot of Shadcn Persian Calendar
nextjs
react
tailwind
shadcn-ui

Introducing the Jalali Date-Picker Component for Shadcn! This user-friendly component allows seamless integration of the Persian calendar into your applications.

Overview

The Shadcn Persian Date Picker is a sleek and versatile date picker specifically designed for React applications. This component stands out due to its support for the Persian (Jalali) calendar, making it a perfect fit for applications that cater to Persian-speaking users. Built on the foundation of Shadcn UI components, it promises both functionality and aesthetic appeal, crafted with Tailwind CSS to ensure it can be customized effortlessly.

This date picker not only provides an accessible interface in compliance with WAI-ARIA standards but also comes with features that enhance user experience, such as dark mode support and RTL (right-to-left) functionality. Whether you need a straightforward date selector or something more complex with multiple selection modes, the Shadcn Persian Date Picker is designed to accommodate a range of needs.

Features

  • Persian (Jalali/Shamsi) Calendar Support: Specifically designed for Persian users, ensuring accurate date representation.
  • Fully Customizable with Tailwind CSS: Effortlessly tailor the look and feel to match your application’s design.
  • Dark Mode Support: A chic dark mode option for users who prefer a darker interface.
  • Accessible (WAI-ARIA Compliant): Ensures usability for all users, including those with disabilities.
  • Responsive Design: Works seamlessly on different screen sizes, making it great for mobile and desktop applications.
  • Year Switcher: Easily navigate through years with a built-in year switcher functionality.
  • Single Date, Range, and Multiple Date Selection Modes: Versatile selection options to cater to various requirements.
  • RTL Support: Designed with right-to-left language support, perfect for Persian text and users.
nextjs
Next.js

Next.js is a React-based web framework that enables server-side rendering, static site generation, and other powerful features for building modern web applications.

react
React

React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components

tailwind
Tailwind

Tailwind CSS is a utility-first CSS framework that provides pre-defined classes for building responsive and customizable user interfaces.

shadcn-ui
Shadcn UI

Beautifully designed components that you can copy and paste into your apps. Accessible. Customizable. Open Source.

eslint
Eslint

ESLint is a linter for JavaScript that analyzes code to detect and report on potential problems and errors, as well as enforce consistent code style and best practices, helping developers to write cleaner, more maintainable code.

typescript
Typescript

TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.