Installation
Installation
Choose your preferred package manager and framework.
React
npm install @thaparoyal/calendar-react @thaparoyal/calendar-corepnpm add @thaparoyal/calendar-react @thaparoyal/calendar-coreyarn add @thaparoyal/calendar-react @thaparoyal/calendar-coreVue
npm install @thaparoyal/calendar-vue @thaparoyal/calendar-coreSvelte
npm install @thaparoyal/calendar-svelte @thaparoyal/calendar-coreAngular
npm install @thaparoyal/calendar-angular @thaparoyal/calendar-coreVanilla JS
npm install @thaparoyal/calendar-vanilla @thaparoyal/calendar-coreCore Only
If you only need the date conversion utilities and don’t need UI components:
npm install @thaparoyal/calendar-coreImporting Styles
Don’t forget to import the CSS for themes:
import '@thaparoyal/calendar-core/themes/themes.css';Or include in your CSS:
@import '@thaparoyal/calendar-core/themes/themes.css';Using Themes
Apply a theme using the data-theme attribute:
<div data-theme="ocean"> <Calendar.Root ... /></div>Available themes: default, ocean, forest, sunset, lavender, midnight, rose, mint, amber, slate, coral, indigo