Skip to content

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.

39 itemsFree, MITshadcn CLI compatibleTailwind CSS v4Light and dark

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 needUseWhy
A short code snippet with copyCode BlockBuilt-in tokenizer
Show a file changeDiff ViewAdded and removed lines read aloud
A one-line before and afterInline Code DiffOne removed, one added
CLI install stepsTerminal WindowStatic transcript
Build or function logsConsole OutputKeyboard-scrollable log region
An error with stack framesStack TraceKeeps indentation
Inspect a JSON payloadJson ViewerFold, search, copy path
Repository or workspace filesFile TreeGit status, filter field
SQL query resultsSql Result TableNULL shown dimmed
Request trace timingTrace WaterfallSpans on a shared time axis
CI stagesBuild PipelineStatus per stage
An API keys pageApi Key ListMasked previews only
Show a secret onceSecret RevealCopies the real value while masked
A keyboard key in textKbdPhysical keycap look
A public status pageStatus PageVerdict 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/terminal

Components 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-list
  • CI 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-pipeline
  • List 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-list
  • React 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-block
  • Editor 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-frame
  • Git 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-row
  • Scrollable 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-output
  • Monospaced 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-id
  • Test 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-meter
  • Inline 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-key
  • React 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-view
  • Uppercase 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-badge
  • React 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-switcher
  • A 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-reference
  • A 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-diff
  • Kbd

    ui

    A 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/kbd
  • A 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-badge
  • A 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-box
  • A 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-cell
  • React 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-time
  • Code 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-card
  • API 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-row
  • Masked 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-reveal
  • Keyboard 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-sheet
  • SQL 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-table
  • Stack 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-trace
  • Terminal 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-window
  • React 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-waterfall
  • Version 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-badge
  • Webhook 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-list
  • React 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-tree
  • Collapsible 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

  • A 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-page
  • A 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-page
  • An 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-console
  • A 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-viewer
  • A 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

  • A 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-marketing
  • Terminal

    motion

    React 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.