Skip to content
+

Event Timeline - Resources

Define the properties of your events.

Define resources

Use the resources prop to define the list of resources the events can be associated to and the resource property on the event model to link an event to its resource:

const event = [
  { resource: 'work' /** other properties */ },
  { resource: 'holidays' /** other properties */ },
];

const resources = [
  { name: 'Work', id: 'work' },
  { name: 'Holidays', id: 'holidays' },
];

<EventTimelinePremium events={events} resources={resources} />;

Nested resources

Use the children property to create hierarchical resource structures:

const resources = [
  {
    id: 'engineering',
    title: 'Engineering',
    children: [
      {
        id: 'frontend',
        title: 'Frontend',
        children: [
          { id: 'web-app', title: 'Web App' },
          { id: 'mobile-app', title: 'Mobile App' },
        ],
      },
    ],
  },
];
Resource title
Engineering
Backend
API Team
Infrastructure
Frontend
Mobile App
Web App
Marketing
Product
Design
Research
Sun, Jun 29 - Sat, Jul 5
Sun, Jul 6 - Sat, Jul 12
Sun, Jul 13 - Sat, Jul 19
Sun, Jul 20 - Sat, Jul 26
Sun, Jul 27 - Sat, Aug 2
Sun, Aug 3 - Sat, Aug 9
Sun, Aug 10 - Sat, Aug 16
Sun, Aug 17 - Sat, Aug 23
Sun, Aug 24 - Sat, Aug 30
Sun, Aug 31 - Sat, Sep 6
Sun, Sep 7 - Sat, Sep 13
Sun, Sep 14 - Sat, Sep 20
Sun, Sep 21 - Sat, Sep 27
Sun, Sep 28 - Sat, Oct 4
Sun, Oct 5 - Sat, Oct 11
Sun, Oct 12 - Sat, Oct 18
REST to GraphQL Migration
Rate Limiting Implementation
API Documentation Sprint
Kubernetes Cluster Upgrade
Monitoring Dashboard Setup
Database Migration to Aurora
iOS Push Notifications
Android Performance Optimization
Cross-Platform Testing
Offline Mode Implementation
Dashboard Redesign
Form Builder Feature
Accessibility Audit
Product Launch Campaign
Developer Blog Series
Social Media Strategy
Conference Preparation
Design System v2
User Journey Mapping
Mobile App Prototype
Dashboard Usability Testing
Competitor Analysis
User Interview Sessions
Feature Prioritization Framework
Q4 Roadmap Research
MUI X Expired package version

Visible resources

Use the defaultVisibleResources prop to initialize the visible resources. A resource is visible if not in the object or if set to true.

Resource title
Customer Success
DevOps
Engineering
Finance
HR
Marketing
QA
Sales
2025
Jul
Aug
Sep
Oct
Nov
Dec
2026
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
2027
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
2028
Jan
Feb
Mar
Apr
May
Jun
Onboarding Process Redesign
Customer Health Score Implementation
QBR Season
Renewal Campaign
Customer Advisory Board
NPS Survey & Analysis
Success Playbook Update
Year-End Customer Appreciation
Infrastructure Assessment
Kubernetes Migration
CI/CD Pipeline Overhaul
Monitoring & Alerting Setup
Disaster Recovery Planning
Security Infrastructure
Multi-Region Deployment
Cost Optimization
Auto-Scaling Implementation
Infrastructure as Code
Analytics Dashboard Development
Technical Debt Sprint
Code Review Week
Mobile App Backend
Documentation Sprint
API V3 Development
Hackathon Week
Performance Optimization Sprint
Security Hardening
Tech Stack Evaluation
Platform Rewrite Phase 1
Migration Planning
Platform Rewrite Phase 2
Load Testing
AI Feature Integration
Dependency Updates
Marketplace Development
CI/CD Improvements
Self-Service Portal
Year-End Code Freeze
Q2 Financial Close
Q3 Financial Close
Annual Budget Planning
Year-End Financial Close
Q1 2026 Budget Review
Q1 2026 Financial Close
Q3 Hiring Sprint
Performance Review Cycle
Benefits Open Enrollment
Compensation Review
Year-End Bonuses
Q1 2026 Hiring
Training & Development Program
Employee Engagement Survey
Q3 Campaign Planning
Product Launch: Analytics
Conference Season Prep
Mobile App Launch Campaign
Q4 Campaign Planning
Holiday Campaign
Year-End Review
Q1 2026 Planning
Brand Refresh Campaign
Spring Launch Campaign
Partnership Announcements
Annual Conference
Analytics Dashboard Testing
Mobile App Testing
API V3 Testing
Integration Testing Phase
Security Testing
Regression Testing
Platform V2 Testing
Performance Testing
AI Feature Testing
Marketplace Testing
Self-Service Portal Testing
Year-End Release Testing
Q3 Quota Setting
Enterprise Sales Training
Partner Program Launch
Q4 Quota Setting
End of Year Push
Year-End Deals Closing
Q1 2026 Planning
New Product Training
Q2 Kickoff
Annual Sales Summit
MUI X Expired package version

Resource properties

Color

Use the eventColor property to define a resource's color. Here is the list of all the available color palettes:

Resource title
amber
blue
green
indigo
lime
orange
pink
purple
teal

Jul

Aug

amber
blue
green
indigo
lime
orange
pink
purple
teal
MUI X Expired package version

Drag interactions

Use the areEventsDraggable property to prevent dragging a resource's events to another point in time:

const resource = {
  // ...other properties
  areEventsDraggable: false,
};

Use the areEventsResizable property to prevent resizing a resource's events by dragging their start or end edge:

const resource = {
  // ...other properties
  areEventsResizable: false,
  areEventsResizable: "start" // only the start edge is draggable.
  areEventsResizable: "end" // only the end edge is draggable.
};

Read-only

Use the areEventsReadOnly property to mark all events of a resource as read-only:

const resource = {
  // ...other properties
  areEventsReadOnly: true,
};

Store data in custom properties

Use the resourceModelStructure prop to define how to read properties of the resource model when they don't match the model expected by the components:

const resourceModelStructure = {
  title: {
    getter: (resource) => resource.name,
  },
};

function Timeline() {
  return (
    <EventTimelinePremium
      resources={[{ name: 'Resource 1' /** ... */ }]}
      resourceModelStructure={resourceModelStructure}
    />
  );
}
Resource title
Customer Success
Design
DevOps
Engineering
Finance
HR
Marketing
Product
QA
Sales
2025
Jul
Aug
Sep
Oct
Nov
Dec
2026
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
2027
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
2028
Jan
Feb
Mar
Apr
May
Jun
Onboarding Process Redesign
Customer Health Score Implementation
QBR Season
Renewal Campaign
Customer Advisory Board
NPS Survey & Analysis
Success Playbook Update
Year-End Customer Appreciation
Dashboard Redesign
Mobile App UI/UX
Design System Update V2
Onboarding Flow Redesign
Icon Library Refresh
Enterprise Theme
Dark Mode Implementation
Accessibility Improvements
Component Library V3
Admin Panel Redesign
Email Templates
Marketing Website Refresh
Illustration Library
Motion Design Guidelines
Brand Evolution
Infrastructure Assessment
Kubernetes Migration
CI/CD Pipeline Overhaul
Monitoring & Alerting Setup
Disaster Recovery Planning
Security Infrastructure
Multi-Region Deployment
Cost Optimization
Auto-Scaling Implementation
Infrastructure as Code
Analytics Dashboard Development
Technical Debt Sprint
Code Review Week
Mobile App Backend
Documentation Sprint
API V3 Development
Hackathon Week
Performance Optimization Sprint
Security Hardening
Tech Stack Evaluation
Platform Rewrite Phase 1
Migration Planning
Platform Rewrite Phase 2
Load Testing
AI Feature Integration
Dependency Updates
Marketplace Development
CI/CD Improvements
Self-Service Portal
Year-End Code Freeze
Q2 Financial Close
Q3 Financial Close
Annual Budget Planning
Year-End Financial Close
Q1 2026 Budget Review
Q1 2026 Financial Close
Q3 Hiring Sprint
Performance Review Cycle
Benefits Open Enrollment
Compensation Review
Year-End Bonuses
Q1 2026 Hiring
Training & Development Program
Employee Engagement Survey
Q3 Campaign Planning
Product Launch: Analytics
Conference Season Prep
Mobile App Launch Campaign
Q4 Campaign Planning
Holiday Campaign
Year-End Review
Q1 2026 Planning
Brand Refresh Campaign
Spring Launch Campaign
Partnership Announcements
Annual Conference
Q3 Strategic Planning
Roadmap Review & Prioritization
Customer Research Synthesis
Feature Specification: Analytics Dashboard
Mobile App PRD
API V3 Specification
Integration Partners Requirements
Q4 Planning Preparation
Q4 Strategic Planning
Annual Review Documentation
Enterprise Features PRD
Security Audit Planning
2026 Roadmap Draft
Q1 Kickoff & Goal Setting
AI Features Specification
Platform Redesign PRD
Accessibility Audit Review
Performance Benchmarks
Q2 Planning Sprint
Customer Advisory Board Prep
Marketplace Strategy
Self-Service Portal PRD
Analytics Revamp Planning
H2 2026 Roadmap
Mid-Year Review
Analytics Dashboard Testing
Mobile App Testing
API V3 Testing
Integration Testing Phase
Security Testing
Regression Testing
Platform V2 Testing
Performance Testing
AI Feature Testing
Marketplace Testing
Self-Service Portal Testing
Year-End Release Testing
Q3 Quota Setting
Enterprise Sales Training
Partner Program Launch
Q4 Quota Setting
End of Year Push
Year-End Deals Closing
Q1 2026 Planning
New Product Training
Q2 Kickoff
Annual Sales Summit
MUI X Expired package version