Skip to main content
For development, import ActionLog from @servicetitan/anvil2-rn. For design, find it in the Mobile Agentic Component Library file.

Common Examples

To use the ActionLog, pass configured steps through the required steps prop. Each step requires a stable id and a title; an empty title renders no title line, so the step’s description sits beside its marker. An empty steps array renders nothing.

Statuses

status selects the marker. "success" and "error" use filled icons. "in-progress" uses a spinning loader. "not-started" stays in the subtle foreground.

Descriptions and details

Use description for supporting plain text. Use details for rendered content that appears inside an independently collapsible Card.

Expansion

The step list starts expanded. Set defaultExpanded={false} to start collapsed. Pass expanded and onExpandedChange to control the list, for example to keep it open while a response streams. Each step’s details stay independently uncontrolled.

Accessibility

  • Status markers use accessibilityRole="image" and a status label. They do not imply form semantics.
  • Show steps / Hide steps and Show details / Hide details are disclosure buttons. Details toggles include the step title in accessibilityLabel so repeated controls stay distinguishable; an untitled step is named by its position instead (“Show details for step 3”).
  • Stable step id values preserve each details disclosure when steps stream or re-render.
  • Built-in toggle and status labels are English until the kit gains an i18n layer. Localize title and description before passing them.
Last modified on October 27, 2026