Skip to Content
Data & Media@hacline/ui/waterfall

Waterfall

Display request durations or trace spans along a unified timeline axis.

Usage

Expand or collapse nested requests under the root item with Left/Right arrow keys. Each entry provides millisecond start and duration timings, while children determines nesting.

Document
Stylesheet
Script
User profile

Marking Key Timeline Milestones

Highlight a 400ms checkpoint with WaterfallAxis and WaterfallMark while locking an explicit time domain.

Step
Validate request
Read cache
Serialize response

Parts

PartDescription
WaterfallAxis
The ruler of round times above the bars, hidden from screen readers. Without children, it renders its ticks.
WaterfallBar
The cell on the time axis, which screen readers hear as the span's start and duration.
WaterfallCell
A cell of your own, like a status or a size.
WaterfallColumnHeader
A column's header, like "Name" or "Timeline".
WaterfallHeaderRow
The row of column headers, above the rows.
WaterfallIndicator
The arrow that expands and collapses a span with children.
WaterfallMark
A moment across every row, like DOMContentLoaded, placed by --waterfall-mark.
WaterfallRow
One span's row. Its --waterfall-start and --waterfall-size place the span's bar.
WaterfallRowHeader
The cell that names the span. Put the indicator and the span's label in it.
WaterfallTick
One time on the axis, placed by --waterfall-tick. Without children, it shows the time.

Props

Prop

Type

View UI SDK parts and state attributes.