AI Components
Free React components for AI apps: chat inputs with model pickers, tool approvals, citations, diff review, streaming states and more, built with Tailwind CSS.
Components for the parts of an AI product people actually touch: the prompt box, the model and effort pickers, tool calls waiting for approval, sources and citations, and the states in between while a reply streams in. Each one is a React component built with Tailwind CSS and Motion, installed with the shadcn CLI.
- AI-01AI Input SelectorUpdatedAI chat input with a model menu, a separate Effort control, file chips you can drop or paste, a / command menu, and Stop while replying.
- AI-02AI Input SearchUpdatedAI composer with a Tools menu (browse, investigate, draft, run code, reason), a model picker and a live trace that stacks each source's avatar as it is read.
- AI-03AI State LoadingUpdatedAgent progress as a list of steps with a live log, elapsed time and a summary when done.
- AI-04AI Text LoadingAI thinking text with a soft wave through the letters and words that swap letter by letter.
- AI-05AI VoiceUpdatedVoice input with a scrolling waveform, then a take you can play back, discard or send.
- AI-06AI Tool ApprovalUpdatedApprove or deny an agent's tool calls. Destructive calls need a press and hold, and decided calls fold into a trace with their output.
- AI-07AI Tool CallsNewTool calls inside a chat reply. Each call streams in as one row with a live timer, then they fold into a single line once the answer is ready.
- AI-08AI CheckoutNewAn order the assistant puts together, paid without leaving the chat. The button fills while the charge runs, then the card folds into a one-line receipt.
- AI-09AI ConnectNewA tool call that stops because an app is not connected. Connect it right in the message, and the call picks up where it stopped.
- AI-10AI SendNewAn email the assistant drafted, editable in place. Send starts a short countdown you can undo before anything goes out.
- AI-11AI ScheduleNewMeeting times the assistant found, each with a strip of both calendars so you can see why it is free. Booking folds the list into the event.
- AI-12AI AttachmentNewA file dropped into the chat uploads, then the assistant reads it page by page. Page citations in the answer light up the page they point at.
- AI-13AI Code RunNewThe assistant runs a short Python script in the reply. A marker steps down the lines, the output prints, and the chart it draws grows in.
- AI-14AI Order StatusNewA live delivery card in the reply. The courier moves along the route while the ETA counts down, and the route turns green on arrival.
- AI-15AI HandoffNewThe assistant hands the chat to a person, with what they will see so you don't repeat yourself. The queue counts down and the agent joins the thread.
- AI-16AI Context MeterUpdatedHow full the context window is, as a ring in the prompt footer that opens a breakdown by source and compacts when it fills.
- AI-17AI Inline CitationsUpdatedAn answer with source chips beside each claim. One preview glides between chips and lights up the sentence it backs.
- AI-18AI Diff ReviewUpdatedA coding agent's edits streaming in file by file, then reviewed per file with accept, reject and undo.
- AI-19AI Model SelectorUpdatedPick a model and how hard it thinks. Effort is a detent track that reshapes for each model and keeps your level when you switch.
- AI-20AI Token AlternativesNewAn answer where every unsure word shows what else the model weighed. Pick another word and the reply writes itself again from there.
- AI-21AI Conversation BranchesNewA chat where editing a message starts a new branch. A small tree beside it shows every version, and you can jump between them.
- AI-22AI Agent LanesNewA lead agent hands work to sub-agents that run side by side. Each gets a lane of tool calls, and you can scrub through the whole run.
- AI-23AI Inline EditNewSelect text in a document and ask AI to rewrite it. The edit streams in place as a word-level diff you accept, discard or try again.
- AI-24AI Message QueueNewKeep typing while the agent works. Follow-ups stack above the composer, where you can reorder, edit or send one now, and go in one by one when the run ends.
- AI-25AI RedactNewMasks names, emails, card numbers and keys as placeholders before a prompt is sent, then fills the real values back into the reply.
- AI-26AI MemoryNewAn assistant that saves what it learns about you into a memory list. New facts replace the ones they contradict, and you can edit or forget any of them.
- AI-27AI AutocompleteUpdatedA text box that suggests how your sentence ends in grey after the caret. Tab takes it all, the right arrow takes one word, and typing the same letters keeps it.
Pro componentsPRO
A look at Kokonut UI Pro, the larger paid collection. Heroes, page sections, app UI, cards, inputs, forms, pricing and full pages, shown as stills.
AI Input Selector
AI chat input with a model menu, a separate Effort control, file chips you can drop or paste, a / command menu, and Stop while replying.

