Getting started
Install Bila Cuti React Calendar
Install the npm package and render your first calendar.
Use an existing React 18.3 or React 19 app.
- Run
npm install @qentrah/react-calendar. - Import the component and stylesheet.
import { HolidayCalendar } from "@qentrah/react-calendar";
import "@qentrah/react-calendar/styles.css";
export default function Holidays() {
return (
<HolidayCalendar
defaultYear={2026}
defaultStates={["johor", "kelantan"]}
showJumpButton={false}
/>
);
}- Open your app. The calendar should show 2026 with Johor and Kelantan selected.
Try the component preview. For Next.js, use a client component and import CSS in your app's supported global stylesheet entry.
Source captured: October 21, 2026
