Skip to content

TTimelineItem / 时间轴项 ​

TimelineItem represents a single event in a timeline. Supports timestamp, title, description, icon, color, hollow style, and loading state. / 时间轴项表示时间轴中的单个事件,支持时间戳、标题、描述、图标、颜色、空心样式和加载状态。

Props / 属性 ​

PropTypeDefaultDescription
titlestring—Item title
timestampstring—Timestamp text
descriptionstring—Description
colorstring—Dot color
iconComponent—Custom icon
hollowbooleanfalseHollow dot style
loadingbooleanfalseLoading state

Basic Usage / 基础用法 ​

vue
<template>
  <TTimelineItem title="Event" timestamp="2026-06-25" description="Description" />
</template>