Response

The Response component renders a Markdown response from a large language model. It uses Streamdown under the hood to render the markdown.

Installation

pnpm dlx shadcn-svelte@latest add https://ai-elements.vercel.app/r/response.json

CSS Configuration

Add the following imports to your app.css file to include Tailwind CSS and Streamdown styles:

Usage