@prompt-kit
prompt-kit is an open-source shadcn-compatible registry of ~20 components purpose-built for AI interfaces: PromptInput, PromptSuggestion, ChatContainer, Message, SystemMessage, Reasoning, ThinkingBar, CodeBlock, Markdown, FileUpload, ImageLoader, ChainOfThought, ToolBlocks, Steps, ScrollButton, FeedbackBar, TextShimmer, SourceCard. Built on top of shadcn/ui with Tailwind CSS, integrates with Vercel AI SDK and OpenAI SDK. Fully free and open-source. Use for: rapidly assembling chat UIs, AI agent dashboards, or assistant frontends without wiring low-level input and message components from scratch.
Install this registry
npx shadcn@latest add https://www.prompt-kit.com/c/registry.json pnpm dlx shadcn@latest add https://www.prompt-kit.com/c/registry.json bunx shadcn@latest add https://www.prompt-kit.com/c/registry.json curl -s https://www.prompt-kit.com/c/registry.json Components
23 totalAn input field designed for chat interfaces, allowing users to enter and submit text prompts to an AI model
npx shadcn@latest add https://www.prompt-kit.com/c/prompt-input.json A component for displaying code snippets with syntax highlighting and customizable styling
npx shadcn@latest add https://www.prompt-kit.com/c/code-block.json A component for rendering Markdown content with support for code blocks, GFM, and custom styling
npx shadcn@latest add https://www.prompt-kit.com/c/markdown.json A component for displaying chat messages with support for avatars, markdown content, and interactive actions
npx shadcn@latest add https://www.prompt-kit.com/c/message.json A component for creating chat interfaces with intelligent auto-scrolling behavior, designed to provide a smooth and responsive user experience
npx shadcn@latest add https://www.prompt-kit.com/c/chat-container.json A floating button component that appears when users scroll up in a container, allowing them to quickly return to the bottom of the content
npx shadcn@latest add https://www.prompt-kit.com/c/scroll-button.json A component for displaying a loading indicator with multiple variants and customizable styling
npx shadcn@latest add https://www.prompt-kit.com/c/loader.json A component for implementing interactive prompt suggestions in AI interfaces. The PromptSuggestion component offers two distinct modes: Normal Mode and Highlig…
npx shadcn@latest add https://www.prompt-kit.com/c/prompt-suggestion.json A component to simulate streaming text on the client side, perfect for fake responses, or any controlled progressive text display.
npx shadcn@latest add https://www.prompt-kit.com/c/response-stream.json A collapsible component for showing AI reasoning, explanations, or logic. You can control it manually or let it auto-close when the stream ends. Markdown is su…
npx shadcn@latest add https://www.prompt-kit.com/c/reasoning.json A component for creating drag-and-drop file upload interfaces with support for single or multiple files, custom triggers, and visual feedback during file dragg…
npx shadcn@latest add https://www.prompt-kit.com/c/file-upload.json A component for rendering JSX strings as React components, with support for streaming content and automatic tag completion.
npx shadcn@latest add https://www.prompt-kit.com/c/jsx-preview.json Displays tool call details including input, output, status, and errors. Ideal for visualizing AI tool usage in chat UIs.
npx shadcn@latest add https://www.prompt-kit.com/c/tool.json Displays website sources used by AI-generated content, showing URL details, titles, and descriptions on hover.
npx shadcn@latest add https://www.prompt-kit.com/c/source.json A component for displaying images from base64 or Uint8Array data, with full accessibility and responsive styling. Perfect for AI-generated or user-uploaded ima…
npx shadcn@latest add https://www.prompt-kit.com/c/image.json A component for displaying a sequence of operations in a collapsible layout. Each step can include details and an optional vertical bar. Useful for showing AI …
npx shadcn@latest add https://www.prompt-kit.com/c/steps.json A banner-style component for surfacing contextual information, warnings, or instructions within AI interfaces.
npx shadcn@latest add https://www.prompt-kit.com/c/system-message.json A component for displaying a chain of thought process with collapsible steps and triggers.
npx shadcn@latest add https://www.prompt-kit.com/c/chain-of-thought.json A component for displaying a shimmer effect on text, perfect for loading states or highlighting text.
npx shadcn@latest add https://www.prompt-kit.com/c/text-shimmer.json A component to display the thinking state of an AI model with optional actions.
npx shadcn@latest add https://www.prompt-kit.com/c/thinking-bar.json A component to collect user feedback on AI responses.
npx shadcn@latest add https://www.prompt-kit.com/c/feedback-bar.json A chatbot component that allows users to chat with an AI model. It uses prompt-kit, shadcn/ui, and AI SDK V5.
npx shadcn@latest add https://www.prompt-kit.com/c/chatbot.json A chatbot with tool calling feature. It uses prompt-kit, shadcn/ui, and AI SDK V5.
npx shadcn@latest add https://www.prompt-kit.com/c/tool-calling.json