- 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.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. Each step’s details remain independently controlled.Heading level
SettitleLevel to fit the surrounding document outline. The main steps toggle uses one level above it, and details toggles use one level below it. Step titles remain body text.Internationalization
ActionLog owns these localized labels:ai-kit.actionLog.showStepsai-kit.actionLog.hideStepsai-kit.actionLog.showDetailsai-kit.actionLog.hideDetailsai-kit.actionLog.statusNotStartedai-kit.actionLog.statusInProgressai-kit.actionLog.statusSuccessai-kit.actionLog.statusError
steps. Mount AiKitIntlProvider inside CartoTheme to switch the built-in labels.React Accessibility
- Status markers include localized screen-reader-only labels and do not imply form semantics.
- The ordered list preserves step sequence.
- Show steps, Hide steps, Show details, and Hide details expose disclosure state through accessible buttons.
- Stable step
idvalues preserve each details disclosure when steps stream or re-render.