Artifact stack
A vertical stack of generated artifacts — files, screenshots, reports, patches, structured JSON, charts, links. Keeps the rows aligned and surfaces an empty state; per-row rendering is delegated to the artifact preview row.
Included in the single kansho full pack. Components are not offered as separate installs.
Populated
Mixed types and states · Static preview: artifact actions require host callbacksfix/retry-backoff.diff
postmortem-draft.md
dashboard-after-fix.png
timeline.json
error-rate-over-time
Empty
Nothing generated yetNo artifacts yet
Component documentation
Artifact Stack
components/tasks/artifact-stack.tsxPurpose
Groups artifact rows under an optional heading and empty state.
Appropriate use
Use for the output collection of one task when shared row actions can be addressed by artifact id.
Example
components/tasks/artifact-stack.tsx has a representative live example in the "Populated" section on /components/artifact-stack.
States
Supports populated and empty collections; each row retains its artifact type, lifecycle, and optional metadata.
API and props
ArtifactStack accepts title, artifacts, onOpen, onDownload, onCopy, and className; each ArtifactStackItem extends ArtifactPreviewRowProps with an id.
Dependencies
Direct imports are React, Lucide icons, ArtifactPreviewRow, and cn.
Accessibility
The optional heading and empty copy are visible text, and row action names come from ArtifactPreviewRow.
Limitations
It forwards only open, download, and copy actions; retry and inspect are not stack-level callbacks, and the host owns data changes and feedback.
Source
Source: components/tasks/artifact-stack.tsx.
Full pack
components/tasks/artifact-stack.tsx is documented at /components/artifact-stack and installs only through the single Kansho full pack; no individual component install is offered.