Day Timeline Rows
A feature section that walks through one working day as hairline rows stamped with the time of day, with a live approval asset dropped inline on the entry that needs showing rather than telling.
Docs
Installation
A real shadcn registry command, not a copy-paste stand-in: it fetches this block plus its dependencies and any missing npm packages, and installs them straight into your project.
npx shadcn add https://staaarter.com/r/day-timeline-rows.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/feature/feature6.tsx instead.
Usage
The file also exports feature6Demo, the exact props behind the preview above. Spread it to get a working section in one line, then replace it with your own data.
import { Feature6, feature6Demo } from "@/components/blocks/feature/feature6"; export default function Page() { return <Feature6 {...feature6Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| eyebrow | string | none | Small label above the heading. |
| heading | ReactNode | none | Section heading. |
| description | string | none | Supporting copy under the heading. |
| entries | DayEntry[] | none | Time-stamped rows of the day, rendered in array order. |
| className | string | none | Extra classes for the outer section element. |
Types
type DayEntry = { time: string; title: string; description: string; /** Only the entry worth showing rather than telling should set this. */ showApproval?: boolean; };
Behavior notes
- Fully static and server-rendered: the time column is a plain monospace label, not a real clock or live timestamp.
- Setting showApproval on an entry renders a small decorative "Approved" card next to that entry's text instead of just describing the approval in words; it does not represent a real approval action or backend state.
- Rows are separated by hairlines (divide-y/border-t) and stack the time above the content on mobile, moving to a fixed time column at the sm breakpoint.
More Feature Blocks
View all →Full-Bleed Workspace Band
Two-column header above a full-bleed image band with a live view switcher, closing on three numbered captions.
Center-Line Journey Timeline
Vertical hairline timeline alternating stages either side, dropping a phone frame on one step.
Figure-Led Evidence Rows
Tall image with a floating before-and-after card, leading into oversized-figure evidence rows.
Staircase Asset Trio
Three image tiles stepping down the page in a staircase, each floating a different live asset.
Sticky Reference List
Sticky heading column beside three labelled groups of checked capabilities, closing on a footnote.
Expanding Proof Rows
Full-width hairline rows that expand in place to reveal a paragraph beside a live asset image.