
Studio Composer
AI chat
Search by name, tag, category or type
Source and install need .
pnpm dlx shadcn@latest add @assembli/quote-replyQuote part of an answer back into the chat: select text and a toolbar floats above it with Ask about this, Explain and Copy. Quotes stack in the composer above the field, each with a left rule, two lines and a remove button, and the sent message shows them above its bubble. Works with mouse, touch and keyboard selections, follows scrolling and hides on Escape.
Other props pass through to the root element.
onQuote*
(text: string, action: QuoteAction) => void
Called with the selected passage when Ask about this or Explain is chosen.
hideExplain
boolean
Default false
Hide Explain and keep only Ask about this and Copy.
| Description | |||
|---|---|---|---|
| onQuote* | (text: string, action: QuoteAction) => void | – | Called with the selected passage when Ask about this or Explain is chosen. |
| hideExplain | boolean | false | Hide Explain and keep only Ask about this and Copy. |