Skip to content

Stack Trace

A parsed, collapsible stack trace.

Installation

pnpm dlx shadcn@latest add @frontal-labs/stack-trace

Usage

import {
  StackTrace,
  StackTraceHeader,
  StackTraceError,
  StackTraceErrorType,
  StackTraceErrorMessage,
  StackTraceActions,
  StackTraceCopyButton,
  StackTraceExpandButton,
} from "@/components/stack-trace";

API Reference

Open the source under Manual above for the exact prop types.

Examples