Timeline block renders a sequence of dated entries. It supports vertical, split (alternating left-right), and horizontal scroll layouts.
Props
Section heading rendered as
<h2>.Supporting text below the heading.
Array of timeline entry objects. Each has:
date(string) — date or period label displayed as a small caps captiontitle(string) — entry headingdescription(string) — supporting textimage(SanityImageObject) — optional image with LQIP support
Optional CTA buttons rendered below the timeline.
Layout variant. Defaults to
vertical.| Value | Description |
|---|---|
vertical | Single-column list with a left-aligned date in a fixed 60px column and a vertical line |
split | Alternating left-right entries on either side of a centered vertical line |
horizontal | Horizontally scrollable entries above a single horizontal line |
Usage in Sanity Studio
- Add a Timeline block to a page.
- Set a Heading and optional Description.
- Add entries to the Items array — each needs a date label and title.
- Choose a Variant in Layout Options.