Prompt Kit
UI library · Free
React components for AI interfaces: help build a chat, input field, and response display without assembling every element manually.
Also known as: ibelick/prompt-kit; prompt-kit; ai-ui-components; ai-interface-kit

What you can use for free
Code and local use under MIT.
Paid features and costs
Computing resources, self-hosting, and external services are paid for separately if used.
Access and limitations
Code and local use under MIT. Computing resources, self-hosting, and external services are paid for separately if used.
Use cases
- Build chat UI for your own AI application
- Connect sending, response streaming, and error state to an AI backend
Example workflow
A possible workflow; this is not a report of hands-on testing.
Build chat UI for your own AI application.
Before you start
- The component's design, states, and data.
- A compatible framework and the project's styles.
Steps
- Prepare message list and prompt input components.
- Connect sending, response streaming, and error state to an AI backend.
- Configure styles and check empty, loading, and error states.
Check your result
- The keyboard, focus indicators, and a screen reader let users complete the action.
- The component works on a narrow screen and with long data values.
Choosing Prompt Kit
Build chat UI for your own AI application
Choose this when
- Build chat UI for your own AI application
- Connect sending, response streaming, and error state to an AI backend
Requirements
- Before adding components, configure shadcn/ui in the React project and check the generated files' import paths.
Things to consider
- Costs and limits of free use: Computing resources, self-hosting, and external services are paid for separately if used.
- Terms of use: MIT for the code; dependencies have separate licenses.
- Installing interface components does not itself connect a model or message-processing server.
Frequently asked questions
What can you use for free in Prompt Kit?
Code and local use under MIT.
What additional costs might arise with Prompt Kit?
Computing resources, self-hosting, and external services are paid for separately if used.
What terms of use matter for Prompt Kit?
MIT for the code; dependencies have separate licenses.
How do you get started with Prompt Kit?
Prepare message list and prompt input components. Connect sending, response streaming, and error state to an AI backend. Configure styles and check empty, loading, and error states.
How does Prompt Kit become part of the project's code?
After setting up shadcn/ui, add components through its CLI from the prompt-kit registry. The README demonstrates importing PromptInput from local @/components/ui/prompt-input: component code lives in your project, where you can adapt it.
License
MIT for the code; dependencies have separate licenses.
MIT — permissive license
You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.
License termsTechnologies and topics
- Prompt Kit
- UI
- Development