Timeline
The Timeline view of a table. Each record is a bar from its start to its end, or a diamond on its one date, inside a week, month, or quarter window. It is read only and has a text list of the same rows in start order.
Installation
pnpm dlx shadcn@latest add https://sprout.tulipfarm.ai/r/timeline.jsonCopies Timeline and the components it uses (Badge, Button, Skeleton, Spinner, and Toggle Group) into your app, installs the packages, and adds the styles. Then import it from @/components/ui/timeline. Needs Tailwind CSS 4 and a components.json from shadcn init.
Install the following dependencies:
pnpm add clsx tailwind-merge @hugeicons/core-free-icons @hugeicons/react rechartsAdd Sprout base once per app: the
cn()helper and the design tokens.lib/sprout/classes.ts- Design tokens, for your global CSS
Add the components it uses: Badge, Button, Skeleton, Spinner, and Toggle Group.
Copy and paste the following code into your project.
export * from '@/lib/sprout/charts/timeline-core'; export * from '@/lib/sprout/charts/timeline-window'; export { shiftTimeline, timelineRange, timelineToday, timelineZoomNames, type TimelineRange, type TimelineZoom, } from '@/lib/sprout/charts/timeline-dates';And the files it imports:
lib/sprout/icons/check-icon.tsxlib/sprout/icons/chevron-left-icon.tsxlib/sprout/icons/chevron-right-icon.tsxlib/sprout/icons/create-icon.tsxlib/sprout/icons/inbox-icon.tsxlib/sprout/icons/warning-icon.tsxlib/sprout/chart-kit.tsxlib/sprout/charts/timeline-dates.tslib/sprout/charts/timeline-window.tsxlib/sprout/charts/timeline-core.tsxlib/sprout/state-panel-core.tsx
Add the styles to your global CSS, after
@import "tailwindcss".@layer components { .sprout-timeline { --sprout-timeline-row: 2.75rem; --sprout-timeline-label: 15rem; min-width: 0; font-family: var(--sprout-font); color: var(--sprout-text); gap: 12px; display: grid; container-type: inline-size; } .sprout-timeline[aria-busy="true"] .sprout-timeline-grid:not([data-skeleton]) { opacity: .6; } .sprout-timeline-notice:empty { display: none; } .sprout-timeline-grid { grid-template-columns: auto minmax(0, 1fr); min-width: 0; display: grid; } .sprout-timeline-labels { grid-auto-rows: var(--sprout-timeline-row); border-right: 1px solid var(--sprout-line); align-content: start; min-width: 0; margin: 0; padding: 40px 0 0; list-style: none; display: grid; } .sprout-timeline-row { box-sizing: border-box; min-width: 0; height: var(--sprout-timeline-row); border-radius: var(--sprout-radius-control); outline: none; align-items: center; gap: 8px; padding: 0 8px; display: flex; } .sprout-timeline-row[data-hot] { background: var(--sprout-hover); } .sprout-timeline-row[data-openable] { cursor: pointer; } .sprout-timeline-row:focus-visible { outline: var(--sprout-focus-width) solid var(--sprout-focus-ring); outline-offset: -2px; } .sprout-timeline-label { width: var(--sprout-timeline-label); flex: none; gap: 2px; min-width: 0; display: grid; } .sprout-timeline-label-head { align-items: center; gap: 6px; min-width: 0; display: flex; } .sprout-timeline-label-title, .sprout-timeline-label-dates { text-overflow: ellipsis; white-space: nowrap; overflow: hidden; } .sprout-timeline-label-title { min-width: 0; font-size: var(--sprout-text-sm); font-weight: 500; line-height: 1.25rem; } .sprout-timeline-label-dates { min-width: 0; color: var(--sprout-muted); font-size: var(--sprout-text-xs); font-variant-numeric: tabular-nums; align-items: center; gap: 6px; line-height: 1rem; display: flex; } .sprout-timeline-label-text { text-overflow: ellipsis; overflow: hidden; } .sprout-timeline-label-clip { color: var(--sprout-text); flex: none; } .sprout-timeline-label-clip:before { content: "· "; color: var(--sprout-muted); } .sprout-timeline-label-marker { flex: none; } .sprout-timeline-label-warning { color: var(--sprout-warning); flex: none; font-weight: 500; display: none; } .sprout-timeline-label-warning:after { content: " ·"; color: var(--sprout-muted); font-weight: 400; } .sprout-timeline-row-actions { align-items: center; gap: 4px; margin-left: auto; display: flex; } .sprout-timeline-plot { min-width: 0; position: relative; } .sprout-timeline-band { inset-inline: 0; top: calc(40px + var(--sprout-timeline-index) * var(--sprout-timeline-row)); height: var(--sprout-timeline-row); background: var(--sprout-hover); pointer-events: none; position: absolute; } .sprout-chart.sprout-timeline-chart { height: calc(var(--sprout-timeline-count) * var(--sprout-timeline-row) + 40px); position: relative; } .sprout-timeline-chart .recharts-cartesian-axis-tick-value { font-variant-numeric: tabular-nums; } .sprout-timeline-chart .recharts-bar-rectangle, .sprout-timeline-point { cursor: inherit; } .sprout-timeline-chevron { fill: none; stroke: var(--sprout-surface); stroke-width: 1.5px; stroke-linecap: round; stroke-linejoin: round; } .sprout-timeline-today rect { fill: var(--sprout-chart-1); } .sprout-timeline-today text { fill: var(--sprout-surface); font-size: .6875rem; font-weight: 500; } .sprout-timeline-grid[data-skeleton] .sprout-timeline-label { gap: 6px; } .sprout-timeline-skeleton-band { height: var(--sprout-timeline-row); align-items: center; padding-inline: 16px; display: flex; } .sprout-timeline-grid[data-skeleton] .sprout-timeline-plot { padding-top: 40px; } .sprout-timeline-legend { justify-content: flex-start; padding-top: 0; } .sprout-timeline-undated { color: var(--sprout-muted); font-size: var(--sprout-text-sm); flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0; line-height: 1.25rem; display: flex; } .sprout-timeline-state { min-height: 12rem; } @container (width <= 40rem) { .sprout-timeline-grid { --sprout-timeline-label: 8rem; } .sprout-timeline-row { gap: 4px; padding: 0 4px; } .sprout-timeline-label-clip, .sprout-timeline-label-marker { display: none; } .sprout-timeline-label-warning { display: inline; } } .sprout-timeline-window-bar { min-width: 0; font-family: var(--sprout-font); flex-wrap: wrap; align-items: center; gap: 8px 12px; display: flex; } .sprout-timeline-window-nav { align-items: center; gap: 4px; display: flex; } .sprout-timeline-window-title { min-width: 0; color: var(--sprout-text); font-size: var(--sprout-text-base); font-variant-numeric: tabular-nums; white-space: nowrap; flex: auto; margin: 0; font-weight: 600; line-height: 1.5rem; } .sprout-timeline-window-actions { flex-wrap: wrap; align-items: center; gap: 8px; display: flex; } @media (width <= 40rem) { .sprout-timeline-window-zoom { flex-basis: 100%; width: 100%; } .sprout-timeline-window-zoom > * { flex: 1 1 0; } } @media (prefers-reduced-motion: no-preference) { .sprout-timeline-row { transition: background-color var(--sprout-motion-fast) var(--sprout-motion-ease); } .sprout-timeline-grid, .sprout-timeline .sprout-timeline-state { animation: sprout-timeline-in var(--sprout-motion-normal) var(--sprout-motion-ease); } .sprout-timeline-grid:not([data-skeleton]) { transition: opacity var(--sprout-motion-normal) var(--sprout-motion-ease); } } @keyframes sprout-timeline-in { from { opacity: .4; } } @media (forced-colors: active) { .sprout-timeline-row:focus-visible { outline-color: highlight; } .sprout-timeline-row[data-hot], .sprout-timeline-band { outline-offset: -1px; outline: 1px solid canvastext; } .sprout-chart-tooltip { border-color: canvastext; } .sprout-chart-tooltip-indicator, .sprout-chart-legend-swatch, .sprout-chart-heatmap-table td, .sprout-chart-heatmap-scale > i { forced-color-adjust: none; } .sprout-chart .recharts-surface:focus-visible { outline-color: highlight; } } .sprout-chart { aspect-ratio: 16 / 9; min-width: 0; font-family: var(--sprout-font); font-size: var(--sprout-text-xs); color: var(--sprout-text); justify-content: center; line-height: 1rem; display: flex; container-type: inline-size; } .sprout-chart .recharts-responsive-container > div > :not(.recharts-wrapper) { width: 100cqi; } .sprout-chart-usage, .sprout-chart-category, .sprout-chart-trend, .sprout-chart-area, .sprout-chart-combo, .sprout-chart-donut, .sprout-chart-funnel, .sprout-chart-waterfall, .sprout-chart-timeline, .sprout-chart-scatter, .sprout-chart-treemap, .sprout-chart-sankey, .sprout-chart-radar, .sprout-chart-sparkline { aspect-ratio: auto; width: 100%; } .sprout-chart-usage { height: 16rem; } .sprout-chart-category, .sprout-chart-trend, .sprout-chart-area, .sprout-chart-combo, .sprout-chart-donut, .sprout-chart-waterfall, .sprout-chart-scatter, .sprout-chart-treemap { height: 18rem; } .sprout-chart-sankey, .sprout-chart-radar { height: 20rem; } .sprout-chart-sparkline { height: 2.5rem; } .sprout-chart-gauge { aspect-ratio: 2 / 1.25; width: 100%; max-width: 20rem; margin-inline: auto; } .sprout-chart .recharts-polar-angle-axis-tick-value { fill: var(--sprout-muted); } .sprout-chart-center-value { fill: var(--sprout-text); font-variant-numeric: tabular-nums; font-size: 1.5rem; font-weight: 600; } .sprout-chart-center-label { fill: var(--sprout-muted); font-size: var(--sprout-text-xs); } .sprout-chart-treemap-label { fill: var(--sprout-surface); pointer-events: none; font-weight: 500; } .sprout-chart-treemap-value { font-variant-numeric: tabular-nums; font-weight: 400; } .sprout-chart-sankey-label { fill: var(--sprout-text); font-weight: 500; } .sprout-chart-sankey-value { fill: var(--sprout-muted); font-variant-numeric: tabular-nums; font-weight: 400; } .sprout-chart-sankey-link:hover { stroke-opacity: .5; } .sprout-chart-heatmap { width: 100%; font-family: var(--sprout-font); font-size: var(--sprout-text-xs); color: var(--sprout-muted); gap: 12px; line-height: 1rem; display: grid; } .sprout-chart-heatmap-scroll { overflow-x: auto; } .sprout-chart-heatmap-table { width: 100%; min-width: calc(var(--sprout-heat-columns) * 1.25rem + 3rem); border-collapse: separate; border-spacing: 3px; table-layout: fixed; } .sprout-chart-heatmap-table th { white-space: nowrap; font-weight: 400; } .sprout-chart-heatmap-table thead th { text-overflow: clip; text-align: center; overflow: hidden; } .sprout-chart-heatmap-table tbody th { text-align: right; width: 3rem; padding-right: 6px; } .sprout-chart-heatmap-table td { border-radius: 3px; height: 1.5rem; position: relative; } .sprout-chart-heatmap-table td[data-tip]:hover { outline: 1.5px solid var(--sprout-text); outline-offset: 1px; } .sprout-chart-heatmap-table td[data-tip]:hover:after { content: attr(data-tip); z-index: 1; border: 1px solid var(--sprout-line); border-radius: var(--sprout-radius-control); background: var(--sprout-surface); color: var(--sprout-text); box-shadow: var(--sprout-shadow-overlay); white-space: nowrap; pointer-events: none; padding: 6px 10px; position: absolute; bottom: calc(100% + 6px); left: 50%; translate: -50%; } .sprout-chart-heatmap-scale { justify-content: flex-end; align-items: center; gap: 3px; display: flex; } .sprout-chart-heatmap-scale > i { border-radius: 2px; width: 12px; height: 12px; } .sprout-chart-heatmap-scale > span:first-child { margin-right: 4px; } .sprout-chart-heatmap-scale > span:last-child { margin-left: 4px; } .sprout-chart-sr-only { clip-path: inset(50%); white-space: nowrap; width: 1px; height: 1px; position: absolute; overflow: hidden; } .sprout-chart .recharts-cartesian-axis-tick-value { fill: var(--sprout-muted); } .sprout-chart .recharts-cartesian-grid line[stroke="oklch(0.8452 0 0)"], .sprout-chart .recharts-polar-grid [stroke="oklch(0.8452 0 0)"], .sprout-chart .recharts-reference-line [stroke="oklch(0.8452 0 0)"] { stroke: var(--sprout-line); } .sprout-chart .recharts-curve.recharts-tooltip-cursor { stroke: var(--sprout-border); } .sprout-chart .recharts-rectangle.recharts-tooltip-cursor { fill: var(--sprout-hover); } .sprout-chart .recharts-radial-bar-background-sector { fill: var(--sprout-secondary); } .sprout-chart .recharts-dot[stroke="oklch(1 0 0)"], .sprout-chart .recharts-sector[stroke="oklch(1 0 0)"] { stroke: #0000; } .sprout-chart .recharts-layer, .sprout-chart .recharts-sector, .sprout-chart .recharts-wrapper, .sprout-chart .recharts-surface { outline: none; } .sprout-chart .recharts-surface { border-radius: var(--sprout-radius-control); overflow: visible; } .sprout-chart .recharts-surface:focus-visible { outline: var(--sprout-focus-width) solid var(--sprout-focus-ring); outline-offset: 0; } .sprout-chart-tooltip { border: 1px solid var(--sprout-line); border-radius: var(--sprout-radius-control); background: var(--sprout-surface); width: max-content; min-width: 8rem; max-width: 20rem; color: var(--sprout-text); box-shadow: var(--sprout-shadow-overlay); font-family: var(--sprout-font); font-size: var(--sprout-text-xs); align-items: start; gap: 6px; padding: 6px 10px; line-height: 1rem; display: grid; } .sprout-chart-tooltip-label { font-weight: 500; } .sprout-chart-tooltip-items { gap: 6px; display: grid; } .sprout-chart-tooltip-item { flex-wrap: wrap; align-items: stretch; gap: 8px; width: 100%; display: flex; } .sprout-chart-tooltip[data-indicator="dot"] .sprout-chart-tooltip-item { align-items: center; } .sprout-chart-tooltip-item > svg { width: 10px; height: 10px; color: var(--sprout-muted); } .sprout-chart-tooltip-indicator { border: 0 solid var(--sprout-chart-indicator); background: var(--sprout-chart-indicator); border-radius: 2px; flex-shrink: 0; } [data-indicator="dot"] .sprout-chart-tooltip-indicator { width: 10px; height: 10px; } [data-indicator="line"] .sprout-chart-tooltip-indicator { width: 4px; } [data-indicator="dashed"] .sprout-chart-tooltip-indicator { background: none; border-style: dashed; border-width: 1.5px; width: 0; } [data-indicator="dashed"] .sprout-chart-tooltip-item:has([data-nested]) .sprout-chart-tooltip-indicator { margin-block: 2px; } .sprout-chart-tooltip-row { flex: 1; justify-content: space-between; align-items: center; gap: 12px; line-height: 1; display: flex; } .sprout-chart-tooltip-row[data-nested] { align-items: flex-end; } .sprout-chart-tooltip-name { gap: 6px; display: grid; } .sprout-chart-tooltip-name > span { color: var(--sprout-muted); } .sprout-chart-tooltip-value { font-variant-numeric: tabular-nums; color: var(--sprout-text); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 500; } .sprout-chart-legend { font-family: var(--sprout-font); font-size: var(--sprout-text-xs); color: var(--sprout-text); flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 16px; padding-top: 12px; line-height: 1rem; display: flex; } .sprout-chart-legend[data-align="top"] { padding-top: 0; padding-bottom: 12px; } .sprout-chart-legend-item { align-items: center; gap: 6px; display: flex; } .sprout-chart-legend-item > svg { width: 12px; height: 12px; color: var(--sprout-muted); } .sprout-chart-legend-swatch { border-radius: 2px; flex-shrink: 0; width: 8px; height: 8px; } .sprout-state-panel { font-family: var(--sprout-font); color: var(--sprout-text); overflow-wrap: anywhere; animation: sprout-state-panel-in var(--sprout-motion-normal, .18s) var(--sprout-motion-ease, ease) both; } .sprout-state-panel[data-layout="centered"] { text-align: center; flex-direction: column; align-items: center; gap: 1.5rem; width: 100%; max-width: 28rem; margin-inline: auto; padding: 3rem 1.5rem; display: flex; } .sprout-state-panel-media { border: 1px solid var(--sprout-line); background: var(--sprout-surface); width: 2.5rem; height: 2.5rem; color: var(--sprout-text); box-shadow: var(--sprout-shadow-control); border-radius: .5rem; flex-shrink: 0; justify-content: center; align-items: center; display: flex; } .sprout-state-panel-media > svg { flex-shrink: 0; } .sprout-state-panel-danger { color: var(--sprout-danger); } .sprout-state-panel-text { gap: .5rem; width: 100%; display: grid; } .sprout-state-panel-title { font-size: var(--sprout-text-base); letter-spacing: normal; color: var(--sprout-text); margin: 0; font-weight: 500; line-height: 1.5; } .sprout-state-panel-description { font-size: var(--sprout-text-sm); color: var(--sprout-muted); margin: 0; line-height: 1.5; } .sprout-state-panel-actions { width: 100%; font-size: var(--sprout-text-sm); color: var(--sprout-muted); flex-direction: column; align-items: center; gap: .75rem; display: flex; } .sprout-state-panel-actions:empty { display: none; } .sprout-state-panel[data-layout="sample"] { width: 100%; container-type: inline-size; } .sprout-state-panel-card { border: 1px solid var(--sprout-line); border-radius: var(--sprout-radius-panel); background: var(--sprout-surface); box-shadow: var(--sprout-shadow-control); display: grid; overflow: hidden; } .sprout-state-panel-copy { flex-direction: column; justify-content: center; align-items: flex-start; gap: 1.5rem; min-width: 0; padding: 1.5rem; display: flex; } [data-layout="sample"] .sprout-state-panel-text { max-width: 28rem; } [data-layout="sample"] .sprout-state-panel-title { font-size: 1.25rem; line-height: 1.4; } [data-layout="sample"] .sprout-state-panel-description { font-size: var(--sprout-text-base); } [data-layout="sample"] .sprout-state-panel-actions { align-items: stretch; gap: .5rem; } .sprout-state-panel-sample { border-top: 1px solid var(--sprout-line); background: var(--sprout-canvas); min-height: 15rem; display: none; position: relative; overflow: hidden; } .sprout-state-panel-sample-window { border-top: 1px solid var(--sprout-line); border-left: 1px solid var(--sprout-line); border-top-left-radius: var(--sprout-radius-panel); background: var(--sprout-surface); box-shadow: var(--sprout-shadow-panel); position: absolute; inset: 1.5rem 0 0 1.5rem; overflow: hidden; mask-image: linear-gradient(oklch(0% 0 0) 60%, #0000 100%); } @container (width >= 24rem) { [data-layout="sample"] .sprout-state-panel-actions { flex-flow: wrap; align-items: center; width: auto; } } @container (width >= 28rem) { .sprout-state-panel-sample { display: block; } } @container (width >= 32rem) { .sprout-state-panel-copy { padding: 2.5rem; } } @container (width >= 48rem) { .sprout-state-panel-card { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } .sprout-state-panel-copy { padding-block: 3.5rem; } .sprout-state-panel-sample { border-top: 0; border-left: 1px solid var(--sprout-line); min-height: 22rem; } } @media (prefers-reduced-motion: reduce) { .sprout-state-panel { animation-name: sprout-state-panel-fade; } } @keyframes sprout-state-panel-fade { from { opacity: 0; } } @keyframes sprout-state-panel-in { from { opacity: 0; transform: translateY(4px); } } } @layer base { :root, .light { --sprout-red: oklch(58.58% .222 17.58); --sprout-orange: oklch(64.61% .1943 41.12); --sprout-yellow: oklch(65.2% .1388 73.08); --sprout-green: oklch(62.71% .1699 149.21); --sprout-teal: oklch(60.02% .1038 184.7); --sprout-sky: oklch(58.76% .1389 241.97); --sprout-blue: oklch(54.61% .2152 262.88); --sprout-indigo: oklch(51.06% .2301 276.97); --sprout-purple: oklch(55.75% .2525 302.32); --sprout-tan: oklch(61.06% .0869 73.23); } .dark { --sprout-red: oklch(65.79% .1955 13.34); --sprout-orange: oklch(77.98% .1484 67.74); --sprout-yellow: oklch(87.59% .1575 96.07); --sprout-green: oklch(77.5% .1715 145.98); --sprout-teal: oklch(77.28% .0993 201.91); --sprout-sky: oklch(73.46% .111 235.16); --sprout-blue: oklch(65.26% .1738 259.4); --sprout-indigo: oklch(62.3% .1832 282.92); --sprout-purple: oklch(66.45% .1843 308.71); --sprout-tan: oklch(74.86% .0626 77.32); } @media (prefers-color-scheme: dark) { :root:not(.light):not(.dark) { --sprout-red: oklch(65.79% .1955 13.34); --sprout-orange: oklch(77.98% .1484 67.74); --sprout-yellow: oklch(87.59% .1575 96.07); --sprout-green: oklch(77.5% .1715 145.98); --sprout-teal: oklch(77.28% .0993 201.91); --sprout-sky: oklch(73.46% .111 235.16); --sprout-blue: oklch(65.26% .1738 259.4); --sprout-indigo: oklch(62.3% .1832 282.92); --sprout-purple: oklch(66.45% .1843 308.71); --sprout-tan: oklch(74.86% .0626 77.32); } } :root, .light, .dark { --sprout-chart-1: var(--sprout-indigo); --sprout-chart-2: var(--sprout-green); --sprout-chart-3: var(--sprout-orange); --sprout-chart-4: var(--sprout-red); --sprout-chart-5: var(--sprout-sky); --sprout-chart-6: var(--sprout-purple); --sprout-chart-7: var(--sprout-yellow); --sprout-chart-8: var(--sprout-teal); --sprout-chart-9: var(--sprout-blue); --sprout-chart-10: var(--sprout-tan); } }Import it from
@/components/ui/timeline. Update the paths if your@/alias points elsewhere.
pnpm add @tulipfarm/sprout@import "tailwindcss";
@import "@tulipfarm/sprout/styles.css";The package keeps the source and ships fixes with each release. Import from @tulipfarm/sprout/timeline.
Launch plan
Tasks from a table, drawn in a one-month window. Today is pinned to 14 Oct 2026 so the demo stays the same. Tab to the list, then use the arrow keys and Enter.
Showing tasks for all teams, by Start date to Due date.
- Brand refreshSep 14 – Dec 4, 2026Runs past window
- Research interviewsSep 21 – Oct 6, 2026Starts before window
- Pricing pageOct 5 – 16, 2026
- Design QAOct 12 – 14, 2026
- Legal reviewEnd before startEnd before startStarts Oct 15, 2026, ends Oct 12, 2026
- Launch dayOct 21, 2026, no end
- Support rotaOct 26 – Nov 20, 2026Ends after window
Open a row, or use its actions.
Usage
Pass window and TimelineChart shows table rows in one week, month, or quarter. Rows with an end are bars, ends included. Rows with only a start are diamonds. A row that ends before it starts is a hollow diamond with an “End before start” chip. Bars that run past the window are cut at its edge with a chevron, and the label says so. A line marks today.
import {
TimelineChart,
TimelineWindowBar,
timelineRange,
timelineToday,
type TimelineZoom,
} from "@tulipfarm/sprout/timeline";
const today = timelineToday();
const [view, setView] = useState<{ zoom: TimelineZoom; from: string }>({ zoom: "month", from: today });
// The same inclusive YYYY-MM-DD range you query with.
const window = timelineRange(view.zoom, view.from);
<TimelineWindowBar {...view} today={today} onChange={setView} />
<TimelineChart
rows={rows}
rowKey="id"
category="title"
start="start_date"
end="due_date"
title="Tasks"
window={window}
today={today}
status={loading ? "loading" : error ? "error" : "ready"}
onRetry={refetch}
undated={{ count: undatedCount, field: "Start date", action: <Button variant="link" size="sm">Show them</Button> }}
notice={<p>Filtered by owner</p>}
onRowOpen={row => openRecord(row.id)}
renderActions={row => <RowActions row={row} />}
/>- Window:
timelineRange(zoom, from, weekStartsOn)returns the inclusivestartandenddays of the week, month, or quarter that holdsfrom.shiftTimelinesteps to the next or previous one. Both work on calendar dates, so the time zone never moves a day. - Values: dates are
YYYY-MM-DD. Timestamps are epoch milliseconds, shown in the reader’s zone or intimeZone. - Window bar:
TimelineWindowBarhas previous, next, and Today buttons, a live title, and a Week, Month, or Quarter toggle. It stays usable while the timeline loads, is empty, or fails. - Slots:
renderLabelandrenderActionsfill each row,undatedcounts rows with no start, andnoticesits above the chart. The chart is read only; nothing can be dragged. - Keyboard: the labels are an ordered list in start order and one tab stop. Up, Down, Home, and End move between rows, Enter calls
onRowOpen, and Tab reaches the focused row’s actions. The SVG is hidden from screen readers because the list says the same in words. - Size: every row is
--sprout-timeline-rowtall (2.75rem), so the list and the bars line up. Under 40rem the label column narrows to 8rem.