ForwardWidgets
Widgets for Douban and Trakt watchlists plus personalized recommendations, live TV streaming including PlutoTV, Yatu ra…
Dynamic React Big Calendar styled with Shadcn’s CSS variables for seamless light/dark theme support. Pure CSS, Next.js…
git clone https://github.com/list-jonas/shadcn-ui-big-calendar.gitlist-jonas/shadcn-ui-big-calendarInstall in one command — themed React Big Calendar for any shadcn/ui project:
npx shadcn@latest add list-jonas/shadcn-ui-big-calendar/big-calendar
📋 Hover the block above and click the copy icon. Full options in Install via shadcn.
Welcome to the Shadcn/UI - Big Calendar repository! This project showcases a customized React Big Calendar styled using Shadcn's CSS variables, enabling dynamic theme adaptation. This is a purely CSS-based solution, ensuring smooth integration and consistent visual experiences across different themes.
Experience the live demo of the calendar in action:
Live Preview
This repo is a shadcn GitHub registry. Drop the themed calendar into any shadcn/ui project with a single command:
npx shadcn@latest add list-jonas/shadcn-ui-big-calendar/big-calendar
This installs the calendar wrapper component and the theming stylesheet into components/shadcn-big-calendar/, and adds the react-big-calendar runtime dependency (plus its types).
Optional — the demo create-event form (react-hook-form + zod, used in the dialog):
npx shadcn@latest add list-jonas/shadcn-ui-big-calendar/event-form
Pin to a branch, tag, or commit with #ref, and inspect items before installing:
npx shadcn@latest add list-jonas/shadcn-ui-big-calendar/big-calendar#main npx shadcn@latest view list-jonas/shadcn-ui-big-calendar/big-calendar
import moment from "moment";
import { momentLocalizer } from "react-big-calendar";
import ShadcnBigCalendar from "@/components/shadcn-big-calendar/shadcn-big-calendar";
const localizer = momentLocalizer(moment);
export function MyCalendar() {
return (
<ShadcnBigCalendar
localizer={localizer}
style={{ height: 700 }}
events={[]}
// color events: return { className: "event-variant-primary" } (also -secondary, -outline)
eventPropGetter={() => ({ className: "event-variant-primary" })}
/>
);
}
Shadcn/UI - Big Calendar is an open-source project demonstrating how to style React Big Calendar using Shadcn's CSS variables. This project focuses solely on CSS customization for a seamless theme experience.
To ensure the dynamic theming works correctly, make sure to include these key files in your project:
The essential CSS stylesheet that powers the Shadcn-themed calendar is located at:
Important: Make sure to include this stylesheet in your project to enable dynamic theming with Shadcn's variables.
The main calendar component that integrates React Big Calendar with the custom Shadcn styles:
Setting up the project is easy! Follow these steps:
Clone the repository:
git clone https://github.com/list-jonas/shadcn-ui-big-calendar.git cd shadcn-ui-big-calendar
Install dependencies:
npm install # or yarn install
Run the development server:
npm run dev # or yarn dev
Access the app: Open your browser and go to http://localhost:3000 to see it in action.
After setting up the project, here’s how you can use and customize the calendar:
Explore the Calendar:
Integrate Into Your Own Project:
We welcome contributions from the community! If you find any bugs, have suggestions, or want to improve the project, feel free to submit an issue or a pull request.
git clone https://github.com/YOUR_USERNAME/shadcn-ui-big-calendar.git cd shadcn-ui-big-calendar
git checkout -b your-branch-name
git push origin your-branch-name
This project is licensed under the MIT License. See the LICENSE file for more details.
Created by Jonas
For more projects and information, visit My Website.
Check out the star history for this project:
Thank you for checking out the Shadcn/UI - Big Calendar project! We hope this helps you create a beautifully themed event calendar using just CSS. If you have any questions or feedback, feel free to reach out. Happy coding!
more like this
Widgets for Douban and Trakt watchlists plus personalized recommendations, live TV streaming including PlutoTV, Yatu ra…
A lightweight, simplified, RedNotebook-inspired journal/diary app. Built with Electron. Makes dated text files.
View and plan your life in an online calendar by visually by seeing it from days to decades
A simple DIY library to generate your own custom Calendar View using RecyclerView, written in Kotlin
search projects, people, and tags