jswebschmiede / react-calendar

Home Page:https://react-calendar-sigma.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React Calendar

This project is a simple calendar component built with React.

Features

  • Display a calendar with a monthly view
  • Show weekdays and the current month
  • Highlight the current day
  • Customizable locale settings for displaying weekdays
  • Switch between different months

Usage

  1. Install the dependencies by running npm install.

  2. Run the project by executing npm run dev.

Components

  • Calendar: The main component that renders the calendar and provides context for other components.
  • CalendarContext: The context that provides information about the current month and other relevant data.
  • CalendarNavbar: The component that renders the header of the calendar, including month and navigation controls.
  • CalendarBody: The component that renders the actual calendar body, including weekdays and month days.

Customization

You can customize the locale settings in the CalendarProvider component to display weekdays in your desired language. Simply modify the locale variable accordingly.

License

This project is licensed under the MIT License.

About

https://react-calendar-sigma.vercel.app


Languages

Language:TypeScript 89.0%Language:JavaScript 6.7%Language:HTML 3.8%Language:CSS 0.6%