---
url: /components/timeline.md
---
# Timeline 时间线

`EvTimeline` 以竖向时间线展示更新日志、版本历史或里程碑。最新条目的圆点默认着主色并带
光晕，`tag` 字段直接复用 [EvTag](./tag) 的色调体系标注条目类型。

## 基础用法

```vue
<EvTimeline :items="[
  { date: '2026-09-01', tag: '新功能', title: '团队空间上线', description: '…' },
  { date: '2026-08-15', tag: '优化', tagTone: 'success', title: '同步引擎提速' },
]" />
```

## API

### Props

| 属性 | 说明 | 类型 | 默认值 |
| --- | --- | --- | --- |
| items | 条目 `[{ date?, tag?, tagTone?, title, description? }]` | array | `[]` |
| highlight-latest | 最新条目圆点着主色 | boolean | `true` |

### 插槽

| 插槽 | 说明 |
| --- | --- |
| title | 标题覆写（作用域插槽：`{ item, index }`） |
| description | 描述覆写（作用域插槽：`{ item, index }`） |
