103
Highlight any part of a message to get a small Quote action; the snippet rides along in the composer until you send or dismiss it, and tapping it later jumps back to the source.
akaquote·reply to message·text selection
Run this in any project set up for the shadcn CLI. It copies the Quote Reply source into your components folder, so the code is yours to change.
npx shadcn@latest add https://devl.dev/r/quote-reply.jsonImport it and render it. Every prop has a typed default, so it works straight away, and you pass your own data when you’re ready.
import { QuoteReply } from "@/components/quote-reply";
export default function Page() {
return <QuoteReply />;
}A free React component in the Together collection, written in TypeScript with Tailwind CSS on coss ui. MIT licensed.
Read from the Quote Reply source. Everything is optional unless it says required.
| Prop | Type | Default |
|---|---|---|
| title | string | "Onboarding review" |
| messagesrequired | QuoteMessage[] | — |
| currentUserrequired | QuoteAuthor | — |
| onSend | (text: string, quote: QuotedSnippet | null) => void | — |
| className | string | — |