Skip to main content

Timeline

New

A vertical event timeline with connecting lines, status-based styling, custom icons, and date labels. Supports default (left-aligned) and alternating layouts with full RTL support via logical properties.

Preview

Completed
Mar 10, 2026

Submitted

Application received and logged into the system

Completed
Mar 11, 2026

Document Verified

All required documents have been verified

Current
Mar 12, 2026

Under Review

Your application is being reviewed by the team

Upcoming

Approved

Final approval pending

Installation

Usage

TypeScript

typescript

Examples

Basic Timeline

A simple timeline showing the progression of an application process with complete, current, and upcoming states.

Completed
Mar 10, 2026

Submitted

Application received and logged into the system

Completed
Mar 11, 2026

Document Verified

All required documents have been verified

Current
Mar 12, 2026

Under Review

Your application is being reviewed by the team

Upcoming

Approved

Final approval pending

tsx

Activity Log

Use the icon slot to display user avatars. Accepts any React node including images and initials.

Current
2 min ago

Sara commented on your pull request

"Looks good! Just one question about the error handling..."

Completed
1 hour ago

Ahmed merged branch feature/auth

Pull request #47 was merged into main

Completed
3 hours ago

Layla assigned you to issue #52

Fix pagination on the dashboard table

Completed
Yesterday

Omar deployed v2.4.1 to production

tsx

Alternating Layout

Events zigzag between left and right for a more visual presentation. Dates appear on the opposite side.

Completed

Project Kickoff

Requirements gathered, team assembled, and sprint planning completed

Jan 15, 2026
Completed
Feb 28, 2026

Alpha Release

Core features implemented and internal testing started

Current

Beta Testing

Public beta with 500 users, collecting feedback and fixing issues

Mar 13, 2026
Upcoming
Apr 15, 2026

Public Launch

Production release with marketing campaign

tsx

Compact Mode

Smaller nodes and tighter spacing for inline use within cards or sidebars.

Completed

Order Placed

Order #1234 confirmed

Completed

Shipped

Package is on its way

Current

Out for Delivery

Expected by end of day

Upcoming

Delivered

tsx

Support Ticket History

Timeline also works well with detailed content. Use the description for longer text and full context, with avatars to show who is involved.

Completed
Mar 10, 09:15 AM

Ticket opened by Fatima Al-Hassan

Unable to export reports in PDF format. The download starts but fails at 90% with a timeout error. Affects all report types on the dashboard. Browser: Chrome 120, OS: macOS Sonoma.

Completed
Mar 10, 11:30 AM

Assigned to Khalid — Priority: High

Investigating the PDF export service. Initial analysis shows the report generation exceeds the 30s timeout limit for large datasets. Checking server logs for the specific failure point.

Completed
Mar 11, 03:45 PM

Fix deployed — PR #389 merged

Increased timeout to 120s and added chunked processing for reports with 10k+ rows. Also added a progress indicator so users can see export status in real-time.

Current
Mar 12, 10:00 AM

Confirmed fixed by Fatima

Tested with our largest report (15k rows) — exports in ~8 seconds now. The progress bar is a nice touch. Closing this ticket. Thank you!

tsx

Cards — Changelog

Use the cards prop to wrap each item's content in a card container. Great for changelogs, release notes, and content-rich timelines.

Current
Mar 12, 2026

v2.5.0 — Dashboard Redesign

New analytics dashboard with real-time charts, customizable widgets, and dark mode support. Performance improved by 40% with virtualized lists.

Completed
Mar 5, 2026

v2.4.2 — Bug Fixes

Fixed PDF export timeout for large datasets. Resolved calendar date picker not respecting RTL layout in Safari.

Completed
Feb 20, 2026

v2.4.0 — Timeline Component

Introduced the Timeline component with default and alternating layouts, compact mode, card wrapping, and full RTL support.

Completed
Jan 10, 2026

v2.3.0 — Initial Release

First public release with 25 components, 5 themes, and bilingual support for English and Arabic.

tsx

Props

Timeline Props

NameTypeDefaultDescription
itemsRequired
TimelineItem[]Array of timeline event objects
variant
'default' | 'alternating''default'Layout variant: default (left-aligned) or alternating (zigzag)
compact
booleanfalseEnable compact mode with smaller nodes and tighter spacing
cards
booleanfalseWrap each item's content in a card container
className
stringAdditional CSS classes

TimelineItem Props

NameTypeDefaultDescription
icon
React.ReactNodeCustom React node to display inside the timeline node
titleRequired
stringTitle text for the event
titleAr
stringArabic title (shown when direction is RTL)
description
stringDescription or details for the event
descriptionAr
stringArabic description
date
stringDate or time label
dateAr
stringArabic date label
statusRequired
'complete' | 'current' | 'upcoming'Status determines the visual style: complete (success), current (primary), or upcoming (muted)

Accessibility

Semantic List Structure

The timeline renders as a list with role="list" and each item as role="listitem", providing a clear navigational structure for screen readers.

Aria Labels

The component includes an accessible aria-label that automatically switches between "Timeline" and the Arabic equivalent based on the current direction.

Decorative Icons Hidden

Timeline node icons are marked with aria-hidden="true" since the status information is conveyed through the text content, not the visual icon.

Status Through Content

The visual status (complete/current/upcoming) is reinforced through text styling changes, ensuring the information is not conveyed through color alone.

RTL Support

The Timeline component uses CSS logical properties throughout, so the layout automatically mirrors in RTL mode. No additional configuration is needed.

LTR (English)

Completed
Mar 10, 2026

Submitted

Application received and logged into the system

Completed
Mar 11, 2026

Document Verified

All required documents have been verified

Current
Mar 12, 2026

Under Review

Your application is being reviewed by the team

Upcoming

Approved

Final approval pending

RTL (Arabic)

Completed
١٠ مارس ٢٠٢٦

تم التقديم

تم استلام الطلب وتسجيله في النظام

Completed
١١ مارس ٢٠٢٦

تم التحقق من المستندات

تم التحقق من جميع المستندات المطلوبة

Current
١٢ مارس ٢٠٢٦

قيد المراجعة

يتم مراجعة طلبك من قبل الفريق

Upcoming

تمت الموافقة

في انتظار الموافقة النهائية

RTL Features

  • The connecting line and nodes flip to the right side in RTL
  • Content alignment mirrors automatically via logical properties
  • Alternating layout maintains proper left/right zigzag in both directions
  • Date labels can be localized via the dateAr prop

Best Practices

Do

  • Use clear visual markers for each event status
  • Show dates/times alongside event descriptions
  • Support both vertical and horizontal layouts where appropriate

Don't

  • Don't use for sequential steps — use Stepper instead
  • Don't show too many events without pagination or scrolling
  • Don't omit status indicators for events

Related Components