Skip to content

Timeline

Display information content in chronological or reverse order.

Basic usage

Timeline basic usage

Node 1
2023-10-10
Node 2
2023-10-01
Node 3
2023-09-30

Custom dot

When the dotType is solid or hollow, can add colors to dot by setting this attribute dotColor. At the same time, you can directly pass in DOM node to customize node styles through slot#dot. Priority is higher than dotColor and dotType

Node 1
2023-09-30
Node 2
2023-10-01
Node 3
2023-10-02

Custom axis

Timeline provide three different axis: solid、dashed and dotted.default is solid.

Node 1
The content of node 1
2023-09-30
Node 2
The content of node 2
2023-10-01
Node 3
The content of node 3
2023-10-02

Pending

When the task state is happening and the recording is still in progress, ghost nodes can be used to represent the current time node.

Node 1
2023-09-30
Node 2
2023-10-01

Custom pending

Timeline pivot point can be customized through slot#pending-dot.

Node 1
2023-09-30
Node 2
2023-10-01

Label Position

The position of the label text can be set by labelPosition.

Node 1
2023-09-30
Node 2
2023-10-01
Node 3
2023-10-02

Vertical

The vertical time axis.

Tu View Plus
A vue 3.x Neumorphism UI design for web
2023-08
Tu View Plus
A vue 3.x Neumorphism UI design for web
2023-09
Tu View Plus
A vue 3.x Neumorphism UI design for web
2023-10

Horizontal

The horizontal time axis.

Tu View Plus
A vue 3.x Neumorphism UI design for web
2023-08
Tu View Plus
A vue 3.x Neumorphism UI design for web
2023-09
Tu View Plus
A vue 3.x Neumorphism UI design for web
2023-10

Custom Label

You can customize labels through the label slot

Time Schedule 1
Stay organized, reduce stress, and accomplish personal and business goals with a daily schedule template. It’s a simple yet effective time-management tool for any daily activity, whether you’re managing a busy work schedule, academic assignments or family chores.
Time Schedule 2
Stay organized, reduce stress, and accomplish personal and business goals with a daily schedule template. It’s a simple yet effective time-management tool for any daily activity, whether you’re managing a busy work schedule, academic assignments or family chores.
Time Schedule 3
Stay organized, reduce stress, and accomplish personal and business goals with a daily schedule template. It’s a simple yet effective time-management tool for any daily activity, whether you’re managing a busy work schedule, academic assignments or family chores.

Timeline API

Timeline Attributes

NameDescriptionTypeDefault
reverseWhether reverse orderBooleanfalse
directionTimeline directionStringvertical
modeThe display mode of TimelineStringleft
pendingWhether to display ghost nodes. When set to true, only ghost nodes are displayed. When passed to ReactNode, it will be displayed as node content.Boolean String-
label-positionPosition of label textStringsame

Timeline Slots

NameDescription
dotCustom dot

Timeline-Item API

Timeline-Item Attributes

NameDescriptionTypeDefault
dot-colorDot colorString-
dot-typeDot typeStringdefault
line-typeLine typeStringsolid
line-colorLine ColorString-
labelLabel textString-
positionItem positionString-

Timeline-Item Slots

NameDescription
dotCustom dot
labelCustom label