Skip to content
Elements / Layout

step

inside timeline

One step of a timeline: a title, an optional detail line and time, and whether it's done, current or upcoming.

Spec · edit me

No problems. The parser accepted every line.

Result · try itOpen in playground
Tweak the props
status

Props

"text"textThe step's title, e.g. Shipped.required
statusdone · current · upcomingOnly to show progress: done for finished steps, current for where the person is now, upcoming for what's left (muted). Leave it out on every step for a plan, itinerary or how-to that hasn't started.—
detailstringA quieter line under the title, like a place or a note.—
timestringA short date or time on the right, e.g. Oct 18 or 9:12 AM.—
iconstringAn icon in the step's marker instead of the check or dot, by name from icon's list, e.g. icon=truck.—
ifconditionShow only when this expression is true, e.g. if=done or if={count>0}. Every element takes it.—
tipstringA short explanation shown on hover, keyboard focus or a tap, e.g. tip="Orders not yet shipped": for a term or a number some people won't know, instead of more words on screen. It makes the element a Tab stop if it isn't one. Every element takes it.—

Only inside: timeline

SayShape v0.1 is an early prototype under the MIT License. Status · GitHub