- Implementation
- ActionLog Props
- ActionLogStep
Common Examples
To use theActionLog, pass configured steps through the required steps prop. Each step requires a stable id and a title. An empty steps array renders nothing.Statuses
status selects a neutral progress marker for "not-started", "in-progress", and "success". "error" uses the critical treatment.Descriptions and details
Usedescription for supporting plain text. Use details for rendered content that appears inside an independently collapsible Card.Expansion
The step list starts expanded. SetdefaultExpanded={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
accessibilityLabelso repeated controls stay distinguishable. - Stable step
idvalues 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
titleanddescriptionbefore passing them.