---
title: "Timeline"
description: "Steps/itinerary from a table |Title|Detail|Meta|State(done/current)."
---

> Documentation Index
> Fetch the complete documentation index at: https://gistui.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Timeline

```gistui
root = Timeline(plan)
plan = |Title|Detail|Meta|State
|Design|Wireframes and review|Week 1|done
|Build|Core screens|Weeks 2–4|current
|Launch|Public release|Week 6|
```

The table columns are Title, Detail, Meta and State (`done` or `current`).

## Signature

This is the line a model reads in the system prompt.

```gistui
Timeline(data:data, numbered)
```

- **Group:** Content
- **Children:** No
- **Positional arguments:** `data` (a trailing `?` means it may be left out)

## Props

| Prop | Type | How to write it | Notes |
|---|---|---|---|
| `data` | table | positional, required |  |
| `numbered` | flag | bare word: `numbered` | Default `true`. |

## Use your own component

Keep the name and schema, swap what is drawn. The prompt and the model's output do not change.

### React

```tsx
import { ui } from "@gistui/react/ui";

const lib = ui.extend({ Timeline: MyTimeline });
<GistUI library={lib} stream={response.body} />;
```
### Vue

```vue
<GistUI :source="answer" :components="{ Timeline: MyTimeline }" />
```
### Svelte

```svelte
<GistUI source={answer} components={{ Timeline: MyTimeline }} />
```
### Solid

```tsx
<GistUI source={answer()} components={{ Timeline: MyTimeline }} />
```
### Vanilla

```ts
import { ui } from "@gistui/vanilla/ui";

const lib = ui.extend({ Timeline: (ctx) => ({ el: myElement(ctx) }) });
```

See [Custom components](/docs/guides/custom-components/) for the full contract. Style hook: `[data-gistui="Timeline"]`.

Source: https://gistui.com/docs/components/content/timeline/index.mdx
