# Dev Stack Trace

Stack trace viewer that collapses library frames and links frames to the editor with vscode://.

- id: `dev-stack-trace`
- Page: https://agentic-ui-kit.com/components/dev-stack-trace
- Live preview: https://agentic-ui-kit.com/live/component/dev-stack-trace?piece=dev-stack-trace

## Install

```bash
agentic-ui add dev-stack-trace
npx shadcn@4.17.0 add @agentic-ui/dev-stack-trace
```

## Metadata

- **Level:** block
- **Category:** block
- **Installable in:** Radix UI (registry variant new-york), Base UI (registry variant base-vega)
- **Capabilities:** stack-trace-parsing, javascript-v8-frames, firefox-safari-frames, python-tracebacks, library-frame-collapse, open-in-editor-links, editor-selector, copy-trace, error-type-header, dark-mode
- **Intents:** explore-detail, audit-trail
- **Suits domains:** devtools, operations, ai-agents, devops-status, saas
- **Interaction:** expand-collapse, click, copy, select-editor
- **Screen role:** detail
- **Density:** comfortable
- **Dark mode:** yes
- **Use it for:** stack trace viewer that collapses library frames and links frames to the editor with vscode://, parsed JavaScript or Python traceback with copy button and error type header, error detail panel with open in editor links for application frames, show a Node.js stack trace with node_modules frames folded away
- **Avoid when:** grouping and counting many errors over time (use an error monitoring dashboard), source maps or symbolication in the browser, plain log lines (use dev-log-tail)
- **Preserve when adapting:** library-run-folding, innermost-first-order, editor-link-builder
- **Replace when adapting:** trace, project-root, editor-list
- **Adaptation effort:** low
- **Coupling:** low
- **Quality breakdown:** visual 9/10, responsive 9/10, accessibility 9/10, code 9/10
- **npm dependencies:** lucide-react
- **npm dependencies (registry):** lucide-react@0.577.0
- **Registry dependencies:** lib-primitives
