MCPInstall

syncfusion-javascript-timeline

Create and configure Syncfusion TypeScript Timeline control for displaying sequential events and chronological content. Use this skill when implementing timeline layouts, milestone tracking, process flows, progress indicators, or visualizing ordered sequences. This skill covers project milestones, career progression, order status tracking, itinerary planning, and procedural workflow visualization using Syncfusion Timeline.

Installs
53
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/syncfusion/javascript-ui-controls-skills --skill syncfusion-javascript-timeline
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads syncfusion-javascript-timeline automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Implementing Syncfusion TypeScript Timeline

When to Use This Skill

Use this skill when you need to:

  • Display items in chronological or sequential order
  • Visualize timelines, milestones, or event progression
  • Show workflow steps or process flows
  • Create status tracking displays (order tracking, project milestones, career paths)
  • Arrange content in Before, After, Alternate, or Reverse alignments
  • Customize timeline appearance with dots, connectors, and styles
  • Handle timeline events like lifecycle and rendering callbacks
  • Use horizontal or vertical orientations for timeline layout

Timeline Control Overview

The Syncfusion TypeScript Timeline control displays content items in a sequential or chronological layout. It supports:

  • Multiple Alignments: Before, After, Alternate, AlternateReverse
  • Orientations: Horizontal and Vertical layouts
  • Rich Content: String content, templated content, or opposite content
  • Customization: Dot styling, connector customization, CSS classes
  • Events: Created, beforeItemRender lifecycle events
  • Reverse Mode: Display items in reverse order
  • Advanced Templates: Full control over item appearance

Quick Start Guide

Basic Timeline Creation

import { Timeline } from '@syncfusion/ej2-layouts';

// Create timeline items
let timeline: Timeline = new Timeline({
  items: [{}, {}, {}, {}]
});

// Render to DOM element
timeline.appendTo("#timeline");

Timeline with Content

import { Timeline, TimelineItemModel } from '@syncfusion/ej2-layouts';

const items: TimelineItemModel[] = [
  { content: 'Item 1' },
  { content: 'Item 2' },
  { content: 'Item 3' }
];

let timeline: Timeline = new Timeline({
  items: items,
  orientation: 'Vertical'
});

timeline.appendTo("#timeline");

Core Concepts

Key Properties

  • items - Array of TimelineItemModel objects defining timeline items
  • orientation - Display direction: Vertical (default) or Horizontal
  • align - Content alignment: Before, After, Alternate, AlternateReverse
  • reverse - Boolean to display items in reverse order
  • template - HTML template selector for custom item rendering
  • cssClass - Custom CSS class for styling the timeline container
  • created - Event triggered when timeline rendering completes
  • beforeItemRender - Event triggered before each item renders

TimelineItemModel Properties

  • content - Main content (string or template selector)
  • oppositeContent - Opposite-side content (string or template selector)
  • dotCss - CSS class for dot customization
  • cssClass - CSS class for individual item styling
  • disabled - Boolean to disable specific items

Documentation and Navigation Guide

Getting Started & Setup

📄 Read: references/getting-started.md

  • Package installation and dependencies
  • Development environment setup
  • CSS style imports and theming
  • Basic timeline creation and initialization
  • First working example

Items, Content & Opposite Content

📄 Read: references/items-and-content.md

  • Adding string content to items
  • Using templated content with selectors
  • Configuring oppositeContent property
  • Disabling specific timeline items
  • Custom CSS classes for items
  • Dot customization with dotCss property

Alignment & Orientation Modes

📄 Read: references/alignment-and-orientation.md

  • Before alignment (content positioning)
  • After alignment (reversed content positioning)
  • Alternate alignment (alternating arrangement)
  • AlternateReverse alignment (reverse alternating)
  • Vertical orientation (default, stacked vertically)
  • Horizontal orientation (side-by-side layout)
  • Layout combinations and use cases

Customization & Styling

📄 Read: references/customization-styling.md

  • Common connector styling (all connectors)
  • Individual connector styling (per-item styling)
  • Dot color customization
  • Dot size adjustment with CSS variables
  • Dot border and outline styling
  • CSS selector patterns for customization
  • Advanced styling techniques

Templating & Custom Rendering

📄 Read: references/templating.md

  • Template property and template selectors
  • Template context (item, itemIndex)
  • Advanced HTML template usage
  • Dot customization within templates
  • Progress line styling
  • Template best practices and patterns

Events & Lifecycle Hooks

📄 Read: references/events-and-lifecycle.md

  • Created event (triggered on render complete)
  • beforeItemRender event (triggered before each item renders)
  • TimelineRenderingEventArgs for event handling
  • Using events for initialization and customization
  • Event callback patterns

Reverse Layout Mode

📄 Read: references/reverse-layout.md

  • Reverse property for reverse item ordering
  • Use cases for reverse display
  • Reverse with different alignments
  • Combining reverse with orientations

Complete API Reference

📄 Read: references/api-reference.md

  • Properties & Defaults - All 9 Timeline properties with types and default values
  • Methods - All 7 Timeline methods (addEventListener, appendTo, dataBind, etc.)
  • Events & Arguments - beforeItemRender and created events with TimelineRenderingEventArgs
  • Item Configuration - All 5 TimelineItemModel properties
  • Enumerations - TimelineAlign and TimelineOrientation values
  • Quick Setup Example - Complete working configuration

Common Patterns

Status Tracking Timeline

Display sequential status updates with custom styling:

const status = [
  { content: 'Ordered', cssClass: 'state-completed' },
  { content: 'Shipped', cssClass: 'state-progress' },
  { content: 'Delivered' }
];

let timeline: Timeline = new Timeline({
  items: status,
  cssClass: 'status-timeline'
});

Dual-Content Timeline

Show main content with opposite context information:

const events = [
  { content: 'Day 1, 4:00 PM', oppositeContent: 'Check-in' },
  { content: 'Day 1, 7:00 PM', oppositeContent: 'Dinner' }
];

let timeline: Timeline = new Timeline({
  items: events,
  align: 'Alternate',
  orientation: 'Vertical'
});

Horizontal Milestone Timeline

Display project milestones horizontally:

let timeline: Timeline = new Timeline({
  items: milestones,
  orientation: 'Horizontal',
  align: 'Before'
});

Setup Requirements

Dependencies

@syncfusion/ej2-layouts
  └── @syncfusion/ej2-base

CSS Imports

@import "@syncfusion/ej2-base/styles/fluent2.css";
@import "@syncfusion/ej2-layouts/styles/fluent2.css";

HTML Element

<div id="timeline"></div>

Ready to implement? Choose a reference guide above based on your current task, or start with Getting Started for setup instructions.

FAQ

What does the syncfusion-javascript-timeline skill do?

Create and configure Syncfusion TypeScript Timeline control for displaying sequential events and chronological content. Use this skill when implementing timeline layouts, milestone tracking, process flows, progress indicators, or visualizing ordered sequences. This skill covers project milestones, career progression, order status tracking, itinerary planning, and procedural workflow visualization using Syncfusion Timeline.

How do I install syncfusion-javascript-timeline?

Run npx skills add https://github.com/syncfusion/javascript-ui-controls-skills --skill syncfusion-javascript-timeline in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/syncfusion-javascript-timeline/ (personal) or .claude/skills/syncfusion-javascript-timeline/ (project).

Which AI agents can use syncfusion-javascript-timeline?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is syncfusion-javascript-timeline safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains syncfusion-javascript-timeline?

It is published by syncfusion in syncfusion/javascript-ui-controls-skills. It has 53 recorded installs.

More from syncfusion/javascript-ui-controls-skills

View all →

syncfusion-javascript-grid

syncfusion/javascript-ui-controls-skills

Implements Syncfusion JavaScript Grid component for feature-rich data tables and grids. Use this when working with data display, sorting, filtering, grouping, aggregates, editing, or exporting. This skill covers grid configuration, CRUD operations, virtual scrolling, hierarchy grids, state persistence, and advanced data management features for data-intensive applications.

syncfusion-javascript-common

syncfusion/javascript-ui-controls-skills

Common utilities and features for Syncfusion JavaScript controls. Use this skill when the user needs to implement animations, drag-and-drop, state persistence, RTL support, localization, globalization, security, templates, and advanced features for Syncfusion JavaScript controls.

syncfusion-javascript-dropdowns

syncfusion/javascript-ui-controls-skills

Comprehensive guide for implementing Syncfusion TypeScript dropdown components including AutoComplete, ComboBox, Mention, Dropdownlist, Multiselect, ListBox, and MultiColumn ComboBox. Use this when building selection interfaces, data binding, filtering, cascading dropdowns, dual list transfer, custom templates, and accessible dropdown experiences.

syncfusion-javascript-license

syncfusion/javascript-ui-controls-skills

Open the skill to read its SKILL.md instructions.

syncfusion-javascript-popups

syncfusion/javascript-ui-controls-skills

Open the skill to read its SKILL.md instructions.

syncfusion-javascript-tab

syncfusion/javascript-ui-controls-skills

This skill enables creating and customizing Syncfusion TypeScript Tab components, including tab navigation, tab headers, styling, responsive layouts, dynamic content loading, animations, and multi-panel organization.

Popular code quality & workflow skills

View category →

grill-me

mattpocock/skills

A relentless interview to sharpen a plan or design.

Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.

handoff

mattpocock/skills

Compact the current conversation into a handoff document for another agent to pick up.

domain-modeling

mattpocock/skills

Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a GLOSSARY.md, or recording or editing an ADR.

codebase-design

mattpocock/skills

Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary.

diagnosing-bugs

mattpocock/skills

Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow.