# Timeline — React Native chart for Expo

> Gantt with progress.

Tasks with start/end, progress fill and a today marker.

- Docs: https://expokit.in/docs/charts/timeline
- Tier: Pro (ExpoKit Pro plan)
- Component: `<TimelineChart />`
- Category: Specialty
- Also called: timeline chart, Gantt chart, schedule chart
- Platforms: iOS, Android, web
- Expo Go: yes (draws with react-native-svg)
- Variants: Timeline

## Installation

This chart is part of ExpoKit Pro. With a Pro plan, log the CLI in once and add it like any other item:

```bash
npx @expokit/cli@latest login
```

Plans: https://expokit.in/pricing

## Props

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `data` | `{ label, start, end, progress? }[]` | — | Tasks. |
| `marker` | `{ value, label? }` | — | Vertical marker. |
| `formatTick` | `(v) => string` | `compact` | Axis labels. |

## FAQ

### How do I make a timeline chart in React Native?

Use ExpoKit's Timeline: with ExpoKit Pro, the ExpoKit CLI copies the Timeline source into your Expo or React Native app. It's animated and touchable, and works on iOS, Android, web and in Expo Go.

### Does Timeline work in Expo Go?

Yes. It draws with react-native-svg, which Expo Go includes, so it runs on iOS and Android with no development build.

### Is Timeline free?

Timeline is part of ExpoKit Pro. With a Pro plan, log the CLI in once and it installs the full source into your app.

## More

- Live preview, variants and code: https://expokit.in/docs/charts/timeline
- Every ExpoKit component, screen, template and chart: https://expokit.in/llms.txt
- Install commands and props for every free component: https://expokit.in/llms-full.txt
- Pricing: https://expokit.in/pricing
