Quick start guide for Remix integration
This quick start guide will show you how to build a basic Bryntum Calendar in a Remix TypeScript application.
Version requirements
Bryntum Calendar requires:
- React
16.0.0or higher - TypeScript
3.6.0or higher (for TypeScript applications)
Remix version 2.15.0 requires a Node.js LTS version.
Overview of Remix integration
To demonstrate the integration process, we'll build a simple application that looks like the image below.
Here's a breakdown of the steps we'll follow:
- Access the Bryntum npm registry
- Create a Remix application
- Install the Bryntum Calendar component
- Add the Bryntum Calendar component to the application
- Apply styles
- Run the application
Access the Bryntum npm registry
Bryntum components are commercial products, hosted in a private Bryntum repository. Please refer to the Bryntum npm repository guide for complete access information.
Create a Remix application
We'll use the Remix quick start guide to create a Remix application.
Create a Remix application by running the following command:
npx create-remix@latest
This command will guide you through setting up the Remix application by asking the following questions:
- Where should we create your new project?
my-remix-calendar
- Initialize a new git repository?
Yes
- Install dependencies with npm?
Yes
When you've answered the questions, create-remix will create a folder with your project name and install the dependencies.
Change to the new Remix project directory:
cd my-remix-calendar
Install the Bryntum Calendar component
Use the commands below to install the Bryntum Calendar package.
Installing the Bryntum Calendar component using npm is the quickest way to use our products. First, get access to the Bryntum private npm registry by following the guide in our docs. Once you've logged in to the registry, install the Bryntum Calendar component packages:
npm install @bryntum/calendar @bryntum/calendar-react
npm install @bryntum/calendar@npm:@bryntum/calendar-trial @bryntum/calendar-react
Install remix-utils to enable client-side rendering functionality.
npm install remix-utils
Managing dependencies
The application configuration may add a caret (^) as a prefix to dependency versions. We recommend avoiding the caret character as a version prefix to maintain full control over upgrades.
Check the generated package.json file and remove the caret character if necessary.
Add the Bryntum Calendar component to the application
First, create a configuration file.
In the app folder, create a components folder. Create an app.config.tsx file in the components folder and add the following lines of code to it:
import { BryntumCalendarProps } from '@bryntum/calendar-react';
const calendarProps: BryntumCalendarProps = {
date : new Date(2026, 5, 7),
crudManager : {
transport : {
load : {
url : 'data.json'
}
},
autoLoad : true
}
};
export { calendarProps };
This file will be used to configure the Bryntum Calendar component.
Now create a Bryntum Calendar React component.
In the app/components/ folder, create a bryntum.client.tsx file and add the following lines of code to it:
import { BryntumCalendar } from '@bryntum/calendar-react';
import { calendarProps } from './app.config';
const BryntumClient = () => {
return (
<BryntumCalendar
{...CalendarProps}
/>
);
};
export default BryntumClient;
The file extension is .client.tsx because Bryntum components are rendered on the client-side only and Remix uses .client.tsx for client-side files.
Let's create a file for example data.
In the public folder, create a folder called data. In the data folder, create a file called data.json and add the following JSON object to it:
{
"success": true,
"resources": {
"rows": [
{
"id": 1,
"name": "New York Team",
"eventColor": "blue"
},
{
"id": 2,
"name": "Tokyo Hub",
"eventColor": "green"
},
{
"id": 3,
"name": "Paris Office",
"eventColor": "orange"
},
{
"id": 4,
"name": "Sydney Crew",
"eventColor": "red"
}
]
},
"events": {
"rows": [
{
"id": 1,
"name": "Kickoff Strategy Meeting",
"startDate": "2026-06-08T09:00:00",
"endDate": "2026-06-08T12:30:00",
"resourceId": 1
},
{
"id": 2,
"name": "Client Review Call",
"startDate": "2026-06-09T14:00:00",
"endDate": "2026-06-09T17:00:00",
"resourceId": 1
},
{
"id": 3,
"name": "Design Workshop",
"startDate": "2026-06-10T10:00:00",
"endDate": "2026-06-10T15:00:00",
"resourceId": 1
},
{
"id": 4,
"name": "Project Planning",
"startDate": "2026-06-08T13:00:00",
"endDate": "2026-06-08T16:30:00",
"resourceId": 2
},
{
"id": 5,
"name": "Sprint Retrospective",
"startDate": "2026-06-09T15:00:00",
"endDate": "2026-06-09T19:00:00",
"resourceId": 2
},
{
"id": 6,
"name": "Innovation Lab Session",
"startDate": "2026-06-11T16:00:00",
"endDate": "2026-06-11T19:30:00",
"resourceId": 2
},
{
"id": 7,
"name": "UX/UI Review",
"startDate": "2026-06-09T08:30:00",
"endDate": "2026-06-09T11:00:00",
"resourceId": 3
},
{
"id": 8,
"name": "Marketing Sync",
"startDate": "2026-06-10T08:00:00",
"endDate": "2026-06-10T11:00:00",
"resourceId": 3
},
{
"id": 9,
"name": "Team Building Lunch",
"startDate": "2026-06-12T11:30:00",
"endDate": "2026-06-12T15:00:00",
"resourceId": 3
},
{
"id": 10,
"name": "Daily Standup",
"startDate": "2026-06-08T09:00:00",
"endDate": "2026-06-08T12:30:00",
"resourceId": 4
},
{
"id": 11,
"name": "Product Demo",
"startDate": "2026-06-10T16:00:00",
"endDate": "2026-06-10T20:00:00",
"resourceId": 4
},
{
"id": 12,
"name": "Customer Feedback Session",
"startDate": "2026-06-11T11:00:00",
"endDate": "2026-06-11T15:30:00",
"resourceId": 4
},
{
"id": 13,
"name": "End of Sprint Wrap-up",
"startDate": "2026-06-12T12:00:00",
"endDate": "2026-06-12T15:00:00",
"resourceId": 4
},
{
"id": 100,
"name": "Hackathon 2026",
"startDate": "2026-06-08T00:00:00",
"endDate": "2026-06-15T00:00:00",
"allDay": true,
"resourceId": 1,
"eventColor": "purple"
},
{
"id": 101,
"name": "Innovation Day",
"startDate": "2026-06-08T00:00:00",
"endDate": "2026-06-09T00:00:00",
"allDay": true,
"resourceId": 2
},
{
"id": 102,
"name": "Wellness Retreat",
"startDate": "2026-06-10T00:00:00",
"endDate": "2026-06-11T00:00:00",
"allDay": true,
"resourceId": 3
},
{
"id": 103,
"name": "Tech Expo Visit",
"startDate": "2026-06-11T00:00:00",
"endDate": "2026-06-12T00:00:00",
"allDay": true,
"resourceId": 4
},
{
"id": 104,
"name": "Team Celebration",
"startDate": "2026-06-13T00:00:00",
"endDate": "2026-06-14T00:00:00",
"allDay": true,
"resourceId": 1
}
]
}
}
Now we'll create a wrapper component for the Bryntum Calendar React component to ensure it renders only on the client side.
Replace the contents of the app/routes/_index.tsx file with the following code:
import { ClientOnly } from 'remix-utils/client-only';
import BryntumClient from '~/components/bryntum.client';
export default function Index() {
return (
<ClientOnly fallback={<h1>Loading Bryntum Calendar</h1>}>
{() => <BryntumClient/>}
</ClientOnly>
);
}
Apply styles
To style the Bryntum Calendar, create an app/styles/ folder and add an index.css file to it. Paste the following code into index.css:
body,
html {
margin : 0;
display : flex;
flex-direction : column;
height : 100vh;
font-family : Poppins, "Open Sans", Helvetica, Arial, sans-serif;
font-size : 14px;
}
Import the index.css file and a Bryntum theme in Bryntum.client.tsx:
/* FontAwesome is used for icons */
import "@bryntum/calendar/fontawesome/css/fontawesome.css";
import "@bryntum/calendar/fontawesome/css/solid.css";
/* Import the structural CSS for calendar */
import "@bryntum/calendar/calendar.css";
/* Import a Bryntum theme */
import "@bryntum/calendar/svalbard-light.css";
import "../styles/index.css";
This stylesheet imports the Bryntum Calendar structural CSS, the Svalbard theme, and gives the page a two-panel layout, with the scheduler above the utilization view. Bryntum provides five themes with light and dark variants that can be customized.
Learn more about styling your Bryntum Calendar in our style guide.
Run the application
Start the local development server:
npm run dev
You can access the Bryntum Calendar app in your browser at http://localhost:5173/.
Troubleshooting
If you run into any issues, refer to the troubleshooting guide.
What to do next?
Advanced integration with React
Explore our comprehensive React guide to learn more about how Bryntum Calendar integrates with React and start customizing your application.
Working with data in Bryntum Calendar
Our guide to data binding explains how data can be bound to the component.
Bryntum components often use multiple data collections and entities.
For a detailed explanation of how these elements interact, see our guide to displaying data in Bryntum Calendar.