An AI prompt input with model selection
Prompt Input
Use an auto-growing composer with prompt actions, keyboard submission, and send or stop states. Connect onSubmit and onStop to your own request lifecycle.
Preview, API & source for Prompt InputThe Rendyn collection · 12 selected components
Give people a clear way to ask, follow the work, and decide what happens next. Explore React and TypeScript components for chat, human approval, tool permissions and generated results, grouped by the part of the agent workflow they serve.
React · TypeScript · Live previews · Component source
A useful streaming chat needs more than a text box. Keep the composer predictable, make answers readable as they arrive, and let people read earlier messages without being pulled back to the newest token.
An AI prompt input with model selection
Use an auto-growing composer with prompt actions, keyboard submission, and send or stop states. Connect onSubmit and onStop to your own request lifecycle.
Preview, API & source for Prompt InputA clear conversational message
Choose alignment and visual tone for user and assistant messages. Group related content and reveal longer content without giving every message the same visual weight.
Preview, API & source for Message BubbleA stable streaming response surface
Pass plain text or rendered content, then expose copy, retry, feedback and sources when appropriate. The component renders your response; your backend supplies the stream.
Preview, API & source for Streaming ResponseChat auto-scroll that respects the reader
Follow output while the reader stays near the end, release that following behavior when they move away, and use onFollowChange to reflect the reading state.
Preview, API & source for Message ScrollerAn approval asks whether a proposed result is acceptable. A tool permission asks whether a specific action may run. Show the proposal and its scope before asking for either decision, then display the state your server confirms.
Human-in-the-loop review and questions
Present a draft with approve, reject or request-changes actions. The same surface supports single-choice, multiple-choice and custom answers when the agent needs a decision.
Preview, API & source for Approval CardAllow once, remember access, or deny
Show the tool and its parameters before execution. Wire onApprove, onAlwaysAllow and onDeny to explicit server policies; a remembered choice needs a defined scope.
Preview, API & source for Tool ApprovalInspect the actual proposed file changes
Put added and removed lines beside the decision, with syntax highlighting and change counts. Keep the reviewed revision tied to the action that is eventually executed.
Preview, API & source for File DiffReadable tool output after execution
Expose terminal output or request responses in an expandable disclosure, then collapse completed work into a compact result. Only show completion after your executor reports it.
Preview, API & source for Tool ResultLong-running work should have an understandable state. Separate a loading cue from observed activity, and give generated media a stable place in the conversation before the final asset arrives.
An agent activity and tool-call timeline
Render searches, tool calls and execution traces in one chronological stream. Feed it observed events so people can distinguish ongoing work from a completed step.
Preview, API & source for Agent ActivityAI loading states for different waits
Choose a short shimmer message, elapsed-time progress, or cycling status phrases. Use wording grounded in real work rather than inventing a percentage or an internal reasoning trace.
Preview, API & source for Agent Loading StatesReact image-generation UI with stable layout
Reserve an aspect ratio through queued, generating, refining, complete and error states. Supply your generated image as children and connect retry to your own generation service.
Preview, API & source for Image GenerationSources beside the answer they support
Pair inline citation markers with a collapsible reference list. Provide source data from your application and validate external URLs before passing them into the UI.
Preview, API & source for CitationsFrom components to a product
Start with the user’s task, then choose the smallest set of components that makes it clear.
Let an editor inspect a drafted announcement and its intended destination before publishing. Keep content review and tool execution visible as separate decisions.
Show the full draft and destination, then offer approval, rejection or a request for changes.
When publishing requires a permission, show the named tool and exact parameters for that action.
Display the confirmed execution result, or retain a retryable error if publishing fails.
Persist approval on the server and bind it to the reviewed action. A card click alone does not authorize execution or prove the announcement was published.
Keep the input available while a research answer arrives, expose sources after the response, and let a reader scroll back to an earlier passage.
Submit the research question and chosen model; connect the stop action to request cancellation.
Follow the live edge while the reader is there, then let them move freely through the transcript.
Render the growing answer, its completed sources and any retry or feedback controls.
Your application owns transport, history and content sanitization. Choose which surrounding region announces updates so screen readers do not hear the same stream twice.
Give an image request a predictable lifecycle, from its prompt through the wait to an asset the user can inspect. Keep the canvas dimensions stable across states.
Collect the prompt and expose the generation options your service actually accepts.
Reserve the result area, reflect server-reported status and show the final image with meaningful alternative text.
Show real preparation or generation events if your backend provides them, and surface errors with a recovery action.
The components supply the interface. You provide the image model or API, credentials, validated inputs and asset storage.
A small implementation example
This small display layer uses the catalogue APIs directly. Feed it the text and status from your existing chat transport after adding the component source and its listed dependencies.
Plain text is rendered safely as React content here. If you add Markdown or rich HTML, configure a safe renderer. The example supplies no model, network transport or persisted chat history.
"use client";
import { MessageScroller } from "@/components/agents/message-scroller";
import { StreamingResponse } from "@/components/agents/streaming-response";
export function Answer({ text, status }: {
text: string;
status: "streaming" | "complete" | "error";
}) {
return (
<MessageScroller
label="Research conversation"
busy={status === "streaming"}
className="h-[28rem]"
>
<StreamingResponse
status={status}
copyText={text}
announce={false}
>
{text}
</StreamingResponse>
</MessageScroller>
);
}Make it fit your application
Map your runtime events to each component’s supported states. Keep pending, approved, running, complete and error distinct where the component supports them; do not turn an optimistic click into a completed result.
Validate the actor, tool, parameters and resource on the server. Record what was approved, handle expiry, and request another decision if the action changes. Define the scope of remembered access in your application.
For a broader reference, inspect Chat App, which composes messages, approvals, tools and generated media. Reuse only the pieces your product needs; its preview is a UI example rather than a hosted agent backend.
See the full interface composition in Chat App.
They are React interface components. You connect your own model provider, agent runtime, authentication, persistence and tool execution. They can form the presentation layer around an existing backend.
Yes. Pass the content and supported status into the response components, and connect composer callbacks to your transport. Rendyn does not require a particular model provider; check the component source and dependencies against your existing app.
Approval Card supports reviewing an outcome or answering questions. Tool Approval is focused on the tool, its parameters and permission choices. Both need your server to validate and persist the decision before any protected action runs.
Open a component page to use its live preview and inspect its documentation, dependencies and upstream attribution. Every component’s source is free without login. Connect your coding agent to the free MCP to search and retrieve source inside your project; only MCP needs an account.
Prefer choosing components with your coding agent? Connect Rendyn through MCP to search and retrieve implementation context.
Keep exploring
Choose text reveals, hover feedback and transitions for the rest of your product.
Explore the collectionChoose your next component
Inspect the live preview, usage, dependencies and upstream attribution before adapting it to your app.
Browse all agent components See source access and pricing