sh4dcnv2 · atlas
← libraries

@inferencesh

A batteries-included shadcn registry from inference.sh providing a complete AI agent UI runtime. Key blocks: Agent (full wired agent with streaming and tool lifecycle), Chat (container, messages, composer, status indicators), Tools (tool invocation UI: pending, in-progress, human-in-the-loop approval, results), Widgets (renders declarative JSON UI nodes as interactive components), Markdown (high-fidelity with code blocks and zoomable images), Code Block, Steps, Sidebar Light, Table of Contents, YouTube Embed, and Zoomable Image. Open-source, MIT. Use for: building production AI agent interfaces in Next.js that need streaming, tool rendering, and human-in-the-loop approvals without wiring each piece from scratch.

14 components react shadcn-cli

Install this registry

shadcn (npm) npx shadcn@latest add https://ui.inference.sh/r/registry.json
pnpm pnpm dlx shadcn@latest add https://ui.inference.sh/r/registry.json
bun bunx shadcn@latest add https://ui.inference.sh/r/registry.json
fetch registry curl -s https://ui.inference.sh/r/registry.json

Components

14 total
Agent Chat block

Full-featured AI agent chat with state management, tools, and widgets.

npx shadcn@latest add https://ui.inference.sh/r/agent.json
Chat UI Primitives block

Virtualized chat with measured markdown. Auto-scroll, message strategies, typing indicators.

npx shadcn@latest add https://ui.inference.sh/r/chat.json
Tool Invocation UI block

Displays tool lifecycle: pending, in-progress, approval, and results.

npx shadcn@latest add https://ui.inference.sh/r/tools.json
Task block

Real-time task display with streaming support, status indicators, and logs viewer.

npx shadcn@latest add https://ui.inference.sh/r/task.json
Widget Renderer block

Renders declarative UI nodes (forms, buttons, cards) from agent tool outputs.

npx shadcn@latest add https://ui.inference.sh/r/widgets.json
pretext-md block

Measured markdown renderer powered by pretext. DOM-free text measurement, plugin architecture, virtualizable.

npx shadcn@latest add https://ui.inference.sh/r/pretext-md.json
Virtualize block

Typed virtualization with measurement strategies, incremental caching, and scroll correction.

npx shadcn@latest add https://ui.inference.sh/r/virtualize.json
Markdown Renderer (legacy) block

react-markdown based renderer. Consider using pretext-md instead.

npx shadcn@latest add https://ui.inference.sh/r/markdown.json
Code Block block

Syntax-highlighted code block with line numbers and copy button.

npx shadcn@latest add https://ui.inference.sh/r/code-block.json
YouTube Embed block

Responsive YouTube video embed with loading state.

npx shadcn@latest add https://ui.inference.sh/r/youtube-embed.json
Zoomable Image block

Click-to-zoom image component with medium.com-style lightbox.

npx shadcn@latest add https://ui.inference.sh/r/zoomable-image.json
Steps block

Numbered step component with connecting line for sequential instructions.

npx shadcn@latest add https://ui.inference.sh/r/steps.json
Sidebar Light block

Lightweight sidebar navigation with nested items and active state.

npx shadcn@latest add https://ui.inference.sh/r/sidebar-light.json
Table of Contents block

Auto-scrolling table of contents with intersection observer for active section.

npx shadcn@latest add https://ui.inference.sh/r/table-of-contents.json