Angular UI Components Documentation
The Angular Timeline shows dated events on a vertical or horizontal timeline. This guide adds the Angular Timeline (jqxTimeline) to an app, then shows how to set its options and call its methods.
jqwidgets-ngjqwidgets-ng/jqxtimeline 
In an Angular project (to start one, see Getting started with Angular), add the package with the Angular CLI. It asks for a theme and adds the styles to angular.json:
ng add jqwidgets-ng
Components are standalone: add jqxTimelineModule to the imports of the component that uses it.
import { Component } from '@angular/core';
import { jqxTimelineModule } from 'jqwidgets-ng/jqxtimeline';
@Component({
selector: 'app-root',
imports: [jqxTimelineModule],
templateUrl: './app.html'
})
export class App {}
The source of the live Default Functionality demo.
<jqxTimeline [source]="dataSource" #myTimeline>
</jqxTimeline>
import { Component, ViewEncapsulation, viewChild } from '@angular/core';
import { jqxTimelineComponent } from 'jqwidgets-ng/jqxtimeline';
import { CommonModule } from '@angular/common';
import { jqxTimelineModule } from 'jqwidgets-ng/jqxtimeline';
@Component({
imports: [CommonModule, jqxTimelineModule],
selector: 'app-root',
templateUrl: './app.html',
encapsulation: ViewEncapsulation.None,
styleUrl: './app.css'
})
export class App {
readonly myTimeline = viewChild.required<jqxTimelineComponent>('myTimeline');
dataSource = [
{
date: 'May 15, 2026',
description: 'Flight: Reserving airline tickets',
subtitle: 'May 15, 2026',
title: 'Flight Reservation',
icon: 'material-icons flight',
dotCSS: ''
},
{
date: 'June 22, 2026',
description: 'Hotel: Booking for the trip',
subtitle: 'June 22, 2026',
title: 'Booking',
icon: 'material-icons hotel',
dotCSS: ''
},
{
date: 'July 12, 2026',
description: 'Flight: Take off',
subtitle: 'July 12, 2026',
title: 'Flight',
icon: 'material-icons flight-takeoff',
dotCSS: ''
},
{
date: 'July 13, 2026',
description: 'Excursion Plans: Hiking',
subtitle: 'July 13, 2026',
title: 'Plans',
icon: 'material-icons hiking',
dotCSS: ''
}
];
}
/* fallback */
@font-face {
font-family: 'Material Icons';
font-style: normal;
font-weight: 400;
src: url(https://fonts.gstatic.com/s/materialicons/v31/2fcrYFNaTjcS6g4U3t-Y5ZjZjT5FdEJ140U2DJYC3mY.woff2) format('woff2');
}
.material-icons {
font-family: 'Material Icons';
font-weight: normal;
font-style: normal;
font-size: inherit;
line-height: 1;
letter-spacing: normal;
text-transform: none;
display: inline-block;
white-space: nowrap;
word-wrap: normal;
direction: ltr;
-webkit-font-feature-settings: 'liga';
-webkit-font-smoothing: antialiased;
}
.hotel::after {
content: "\e53a";
}
.flight::after {
content: "\e539";
}
.flight-takeoff::after {
content: "\e905";
}
.flight-land::after {
content: "\e904";
}
.hiking::after {
content: "\e88a";
}
Options are inputs, bound with [name]="value".
Get the component with a signal query and call its methods. For example, render: Re-renders the timeline.
<jqxTimeline #myTimeline></jqxTimeline>
import { Component, viewChild } from '@angular/core';
import { jqxTimelineModule, jqxTimelineComponent } from 'jqwidgets-ng/jqxtimeline';
@Component({
selector: 'app-root',
imports: [jqxTimelineModule],
templateUrl: './app.html'
})
export class App {
readonly myTimeline = viewChild.required<jqxTimelineComponent>('myTimeline');
run(): void {
const result = this.myTimeline().render();
console.log(result);
}
}