Skip to content

TraceItem

One step line: icon, title, muted detail; may expand to show its children.

Group: Lists · Kind: macro · in the lite catalog

example
Ran bun test4s
Output
✓ 12 tests passed
Done in 4.1s
status · running
Reading src/startup.kt
status · error
The general-purpose agent failed9s
status · pending
Waiting on the web captures
size · sm
status · done
Opened augustiner-keller.de
status · skipped
Mail the confirmation to Lisa

Open in the playground

The same specimen painted by React, SwiftUI, Compose and gpui.

exponential-ui-trace-item on Web
exponential-ui-trace-item on iOS
exponential-ui-trace-item on Android
exponential-ui-trace-item on Desktop
size · default
Prop Type Required Bindable Description
title string yes yes What happened.
icon icon – – The lead glyph.
description string – – A muted detail (a duration).
status running | error | pending | done | skipped – – running shimmers, error tints, pending dims, done ticks, skipped strikes.
size default | sm – – sm = compact. Default "default".
collapsible boolean – – The line toggles its children. Default false.
open boolean – yes Whether the children show; bind it. Default false.
  • on.change: runs an action

None.

many

No basic catalog component maps here.

Box · Icon · Text

Role: group

A collapsible line is a button with aria-expanded = open ($a11y); a plain line is text; the icon is decorative.

Keys Action
Enter Space toggle (collapsible only)

Recipe parts: TraceItem/root TraceItem/line TraceItem/icon TraceItem/title TraceItem/description TraceItem/chevron TraceItem/content

Keyed by: status size collapsible open :hover :pressed :focus :disabled :checked :open :selected :invalid :dragover

Themes · Write a theme

Icon · Text · Plan · Section · Group · Trace · Row · MessageBubble