Skip to content

Repository files navigation

npm npm npm

Calendar-ui provides easy-to-use , yet simple react calendar component with convenient monthly navigation(prev, next).

Calendar's year and month are set based on the user's local timezone automatically.
You can mark a color dot on date but it's experimental stage.

Installation

yarn add @yundal/calendar-ui
# or
npm install @yundal/calendar-ui

Usage

import Calendar from '@yundal/calendar-ui';
import '@yundal/calendar-ui/index.css';

function App() {
  return <Calendar
            style?='whatever you want with Tailwind CSS. This is optional and the default is "w-550 p-5"'
            mockdata?={[id: "1", date: "2026-04-09", label: "meeting", color: "primary"]} 
        />;
}

Calender Example

Features

📅 Simple monthly calendar view
⬅️➡️ Previous/Next month navigation
🎨 Customizable with Tailwind CSS
🔧 TypeScript support
🌍 Automatic timezone detection

Browser Support

Chrome, Firefox, Safari, Edge (modern versions)

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Changelog

See CHANGELOG.md for version history.

License


MIT

About

Generic React calendar component for month-by-month date navigation.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages