Kokonut UI
An open-source library of React AI interface components
Introduction
Kokonut UI is a free and open-source React component library designed specifically for the user interfaces that appear in AI applications. It includes features such as input fields with slash commands, model selectors, collapsible tool panels for function calls, context usage bars, and payment-card options within dialog boxes – all built upon Tailwind CSS and Motion.
Each component is stored in a single file. Once it is added to your project, you can modify the code as needed. The installation process is also compatible with current coding practices: you can use a single `shadcn` command to install it, or you can combine it with `shadcn MCP` and simply instruct tools like Claude Code, Cursor, or Codex to “add a certain component to my chat page”.
The free version currently includes over 100 components and has received more than 2,000 stars on GitHub. There is also a paid Pro version, which offers additional templates and even more components. Developers working on the front-end of AI products who don’t want to start from scratch when designing chat interfaces can use this version directly.