Developer tool UI components for React
Free React components for developer tools: code blocks, terminals, diffs, logs, stack traces, JSON viewers, CI pipelines, API keys, webhooks and status pages.
Developer products need interface most kits skip. This category has code display (CodeBlock, DiffView, InlineCodeDiff, TerminalWindow, ConsoleOutput, StackTrace), data views (JsonViewer, SqlResultTable, FileTree, TraceWaterfall), CI and review (BuildPipeline, CheckRunList, CommitRow, MergeBox) and API settings (ApiKeyList, CreateApiKey, SecretReveal, WebhookList).
CodeBlock highlights with a tiny built-in tokenizer instead of Shiki or Prism, which suits short JS, TS, JSX and shell snippets. For long files or an editable area, put CodeMirror or Monaco inside CodeEditorFrame so it still matches the kit.
Which one should I use?
| You need | Use | Why |
|---|---|---|
| A short code snippet with copy | Code Block | Built-in tokenizer |
| Show a file change | Diff View | Added and removed lines read aloud |
| A one-line before and after | Inline Code Diff | One removed, one added |
| CLI install steps | Terminal Window | Static transcript |
| Build or function logs | Console Output | Keyboard-scrollable log region |
| An error with stack frames | Stack Trace | Keeps indentation |
| Inspect a JSON payload | Json Viewer | Fold, search, copy path |
| Repository or workspace files | File Tree | Git status, filter field |
| SQL query results | Sql Result Table | NULL shown dimmed |
| Request trace timing | Trace Waterfall | Spans on a shared time axis |
| CI stages | Build Pipeline | Status per stage |
| An API keys page | Api Key List | Masked previews only |
| Show a secret once | Secret Reveal | Copies the real value while masked |
| A keyboard key in text | Kbd | Physical keycap look |
| A public status page | Status Page | Verdict from the worst service |
39 items
npx shadcn@latest add @minidev/api-key-list @minidev/build-pipeline @minidev/check-run-list @minidev/code-block @minidev/code-editor-frame @minidev/commit-row @minidev/console-output @minidev/copy-id @minidev/coverage-meter @minidev/create-api-key @minidev/diff-view @minidev/env-badge @minidev/env-switcher @minidev/file-reference @minidev/inline-code-diff @minidev/kbd @minidev/latency-badge @minidev/merge-box @minidev/notebook-cell @minidev/relative-time @minidev/review-request-card @minidev/schema-field-row @minidev/secret-reveal @minidev/shortcut-cheat-sheet @minidev/sql-result-table @minidev/stack-trace @minidev/terminal-window @minidev/trace-waterfall @minidev/version-badge @minidev/webhook-list @minidev/api-docs-page @minidev/docs-page @minidev/engineering-console @minidev/logs-viewer @minidev/status-page @minidev/docs-marketing @minidev/file-tree @minidev/json-viewer @minidev/terminalComponents 32
React settings panel listing API keys with masked previews, created date badges and a rotate button per key, plus a header action to create a new key.
npx shadcn@latest add @minidev/api-key-listCI pipeline view that shows each stage as a chip with success, running, failed or pending icons, joined by connectors. Status text is exposed to screen readers.
npx shadcn@latest add @minidev/build-pipelineList of CI check runs with success, failed or running icons, monospaced job names and a status label. Looks like the checks section of a pull request.
npx shadcn@latest add @minidev/check-run-listReact code block with zero dependency syntax coloring, a language tag, optional filename and line numbers, and a copy button that confirms Copied.
npx shadcn@latest add @minidev/code-blockEditor style frame with a monospaced filename tab and a code area. Wrap snippets, editors or diffs so they read as a file in your React docs or app.
npx shadcn@latest add @minidev/code-editor-frameGit commit row for React with author avatar, commit message, relative time, a short SHA badge and a copy button for the hash. Fits deploy logs.
npx shadcn@latest add @minidev/commit-rowScrollable Tailwind console panel in monospace that prints log, warn and error lines with level labels. Uses a log role and is keyboard focusable.
npx shadcn@latest add @minidev/console-outputCopy Id
uiMonospaced ID chip that copies its value to the clipboard on click and shows a check when done. Good for API keys, order IDs and record UUIDs.
npx shadcn@latest add @minidev/copy-idTest coverage bar with a label and percentage that turns green at 80, amber at 60 and red below. Exposed as a progressbar for screen readers.
npx shadcn@latest add @minidev/coverage-meterInline form to name and create an API key, with a labelled input and a Create key button that passes the name to your handler. Pairs with the key list.
npx shadcn@latest add @minidev/create-api-keyReact code diff viewer that tints added lines green and removed lines red with plus and minus gutters, context lines and an optional filename header.
npx shadcn@latest add @minidev/diff-viewUppercase environment badge for production, staging or development, with production outlined in red so live systems stand out in dev tools and consoles.
npx shadcn@latest add @minidev/env-badgeReact segmented control for switching between Dev, Staging and Prod environments, reporting the selected value. Fits dashboards, API consoles and deploy tools.
npx shadcn@latest add @minidev/env-switcherA compact card that cites a source file with its name, monospace path and line range. Useful for code assistants, docs and AI answers that point into a repo.
npx shadcn@latest add @minidev/file-referenceA two line code diff showing the removed line in red with a minus and the added line in green with a plus, in monospace. Suits AI edit suggestions.
npx shadcn@latest add @minidev/inline-code-diffKbd
uiA keyboard key cap for showing shortcuts, with a raised edge and room for icons, plus a KbdGroup wrapper for combos like Cmd K. Renders a semantic kbd element.
npx shadcn@latest add @minidev/kbdA monospace millisecond badge that turns green under 100ms, amber under 400ms and red above. Useful for API monitors, model responses and status dashboards.
npx shadcn@latest add @minidev/latency-badgeA React pull request merge panel with a success or warning callout for check status and a full width Merge button that stays disabled until checks pass.
npx shadcn@latest add @minidev/merge-boxA Jupyter style notebook cell with a Run button beside a code editor frame and an optional output panel below. Good for interactive docs and playgrounds.
npx shadcn@latest add @minidev/notebook-cellReact relative timestamp that renders just now, 5m ago, 3h ago or 2d ago inside a semantic time element, with the full local date shown as a hover title.
npx shadcn@latest add @minidev/relative-timeCode review request card with a Review requested badge, pull request title, repo name, author avatar, and Review and View diff buttons for developer dashboards.
npx shadcn@latest add @minidev/review-request-cardAPI schema field row with a monospace field name, a required badge, the type and a description, in three columns on desktop for docs and reference pages.
npx shadcn@latest add @minidev/schema-field-rowMasked secret field for API keys with an eye toggle to reveal or hide the value and a copy button for the full key. Monospace, compact, built with Tailwind.
npx shadcn@latest add @minidev/secret-revealKeyboard shortcut cheat sheet listing actions next to their key combinations rendered as Kbd keycaps. Pass your own rows or use the default command palette set.
npx shadcn@latest add @minidev/shortcut-cheat-sheetSQL query result table with uppercase column headers, monospace cells and horizontal scroll for wide results. Built for database consoles and admin tools.
npx shadcn@latest add @minidev/sql-result-tableStack trace block that shows an error trace in a monospace pre with a danger tint and scroll for long output. Useful in error pages, logs and debug panels.
npx shadcn@latest add @minidev/stack-traceTerminal window frame with traffic light dots, a title bar and a monospace body for commands and output. A Tailwind block for install steps, CLI docs and demos.
npx shadcn@latest add @minidev/terminal-windowReact trace waterfall that draws each span as a bar offset by start time and scaled by duration, indented by depth with a millisecond label for observability.
npx shadcn@latest add @minidev/trace-waterfallVersion badge that shows a v-prefixed release number with an optional stable, beta or canary channel pill, each tinted differently, for docs and changelogs.
npx shadcn@latest add @minidev/version-badgeWebhook endpoints list with an Add endpoint button, monospace URLs, subscribed events and an active or paused badge per row. Built for developer settings pages.
npx shadcn@latest add @minidev/webhook-listReact file tree for editor sidebars with icons by file type, git status letters, spring folder animation, a filter that expands matches and keyboard support.
npx shadcn@latest add @minidev/file-treeCollapsible JSON tree for React with colored values, counts on folded nodes, copy value and copy path buttons, search highlighting and arrow key navigation.
npx shadcn@latest add @minidev/json-viewer
Blocks and full pages 5
Api Docs Page
blockA React API reference page with a sidebar nav, endpoints tagged by HTTP method, a copy base URL action and a curl request example in a code block.
npx shadcn@latest add @minidev/api-docs-pageDocs Page
blockA Tailwind documentation page layout with a table of contents sidebar, prose with anchored headings, a copyable install command and an info callout.
npx shadcn@latest add @minidev/docs-pageEngineering Console
blockAn engineering console with an environment switcher, build pipeline, and tabs for commits, CI checks with coverage, a trace waterfall and code review.
npx shadcn@latest add @minidev/engineering-consoleLogs Viewer
blockA Tailwind log viewer with a filter input and a scrollable monospace list of timestamped entries tagged info, warn or error. Focusable for keyboard scroll.
npx shadcn@latest add @minidev/logs-viewerStatus Page
blockA React system status panel with an overall outage badge and a list of services, each marked operational or degraded by a colored health indicator.
npx shadcn@latest add @minidev/status-page
Motion 2
Docs Marketing
motionA React docs landing page with an animated headline, docs search, get started and API buttons, a table of contents and scroll revealed code and callouts.
npx shadcn@latest add @minidev/docs-marketingTerminal
motionReact animated terminal window that types commands and prints output lines in sequence, with colored line kinds, a blinking cursor and a replay button.
npx shadcn@latest add @minidev/terminal
Using an AI coding agent? Read the agent guide, point it at /llms.txt for the full index, or paste /AGENTS.md into your project. Every component has plain Markdown docs at /docs/<name>.md.
See them live
Galleries render these components with sample data in every state.
Frequently asked questions
Does the code block have syntax highlighting?
Yes, for short snippets. CodeBlock colours strings, keywords, JSX tags and comments with a built-in tokenizer and has a copy button. It does not load Shiki or Prism, so for full-language highlighting render your highlighter or editor inside CodeEditorFrame.
Is there a JSON viewer component for React?
JsonViewer is a collapsible JSON tree with syntax colours, item counts, copy value and copy path, search highlighting and full keyboard navigation. Use it for API responses, webhook payloads and tool-call results.
How do I show an API key safely?
List keys in ApiKeyList with a masked preview, and never pass it full secrets. Show a new key once with SecretReveal, which is masked by default and copies the real value even while masked.
Can I build a status page?
Yes. StatusPage is a public status page whose headline verdict is computed from the worst service, so it never disagrees with the list below it. Each service shows its health and 90-day uptime.