---
title: "AI Response | Free React & Tailwind Agents Component | Motion UI"
canonical: "https://blacknest.dev/motion/c/agents/ai-response"
github_source: "https://github.com/Rkj0123/motion-ui-skill/blob/main/components/agents/ai-response.tsx"
install_command: "npx motion-ui-skill add ai-response"
dependencies: ["clsx","lucide-react","motion","react","tailwind-merge"]
category: "agents"
subcategory: "agents"
---

# AI Response

> A production-ready, accessible AI response component supporting streaming markdown, syntax-styled code blocks, citations, feedback actions, and tool execution status.

## Install

```bash
npx motion-ui-skill add ai-response
```

## Dependencies

- `clsx`
- `lucide-react`
- `motion`
- `react`
- `tailwind-merge`

## Usage

```tsx
"use client";

import { AIResponse as AiResponse } from "@/components/agents/ai-response";

export function Example() {
  return (
    <div className="p-6">
      <AiResponse />
    </div>
  );
}
```

## Source Files

- [components/agents/ai-response.tsx](https://github.com/Rkj0123/motion-ui-skill/blob/main/components/agents/ai-response.tsx)
- [lib/utils.ts](https://github.com/Rkj0123/motion-ui-skill/blob/main/lib/utils.ts)
