Giter VIP home page Giter VIP logo

binodnepali / react-nepali-datetime-picker Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 3.0 14.01 MB

Mobile first collection of components for seamless integration of Nepali calendar, date picker, time picker, and datetime picker functionalities into React applications. Built with simplicity and reusability in mind, powered by React and styled with Tailwind CSS

Home Page: https://react-nepali-datetime-picker.web.app/

License: Other

JavaScript 6.18% HTML 3.13% TypeScript 89.58% CSS 1.03% Shell 0.09%
react-date-picker react-datepicker react-datetime-picker react-time-picker react-timepicker react-nepalicalendar react-nepalidatetime-picker react-nepalidate-picker react-nepalitimepicker

react-nepali-datetime-picker's Introduction

React Nepali Datetime Picker

Commitizen friendly

This component library is built with React and TailwindCSS, and it is highly customizable to meet the needs of any user. And it aims to provide a comprehensive solution for integrating Nepali calendar functionality into your React applications. It offers a collection of reusable components that will enable seamless date picking, time picking, and datetime picking capabilities.

Components

  • Date Picker: Let's user select nepali calendar date. ✅
  • Time Picker: Let's user select nepali time. ✅
  • DateTime Picker: Let's user select nepali date and time. ✅
  • Static Calendar: Let's user select nepali calendar date without popupover/modal. ✅
  • Static Desktop Time: Let's user select nepali time without popupover/modal. ✅
  • Static Mobile Time: Let's user select nepali time with clock layout and no popupover/modal. 🚧

Demo site link

Before installation

You need to insall Node.js and Tailwind CSS.

Installation

  1. Install react-nepali-datetime-picker
  npm install react-nepali-datetime-picker
  #or
  yarn add react-nepali-datetime-picker
  #or
  pnpm add react-nepali-datetime-picker
  1. Then add nedtTwPlugin to your tailwind.config.js files:
  import {
      nedtTwPlugin,
  } from 'react-nepali-datetime-picker';

  module.exports = {
      //...
      plugins: [nedtTwPlugin()],
  }

Usage

import {
  DatePicker,
  TimePicker,
  DateTimePicker,
  StaticCalendar,
  StaticDesktopTime,
} from 'react-nepali-datetime-picker';

import 'react-nepali-datetime-picker/dist/style.css';

const MyComponent = () => {
  return (
    <>
      <DatePicker />
      <TimePicker />
      <DateTimePicker />
      <StaticCalendar />
      <StaticDesktopTime/>
    </>
  );
};

export default MyComponent;

License

This project is licensed under the MIT License. For more details, see the LICENSE file.

Author

We welcome contributions from the open-source community to help us complete and improve this project. Feel free to create issues, submit pull requests, or reach out to the author for any feedback or questions.

Thank you for your interest in the React Nepali Datetime Picker! Together, we can make it a powerful tool for Nepali calendar integration in React applications.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.