---
id: portfolio.ds.reply-quote
name: "Reply Quote"
type: component
status: active
relations: [{"type":"composes","target":"portfolio.ds.caption"},{"type":"composes","target":"portfolio.ds.link"},{"type":"uses_token","target":"portfolio.ds.typography"},{"type":"uses_token","target":"portfolio.ds.color-text"},{"type":"uses_token","target":"portfolio.ds.max-widths"},{"type":"uses_token","target":"portfolio.ds.border"},{"type":"uses_token","target":"portfolio.ds.primitive-scale"}]
sources: ["packages/design-system/src/components/ReplyQuote.astro","packages/design-system/src/components/reply-link-href.ts","apps/portfolio-site/src/design-system/docs/reply-quote.astro","apps/portfolio-site/src/lib/designSystemRegistry.ts"]
catalog: ["apps/portfolio-site/src/design-system/docs/reply-quote.astro"]
previews: ["apps/portfolio-site/src/design-system/docs/reply-quote.astro"]
---
# Reply Quote

## Purpose
Distinguish a source's exact words from a paraphrase and keep its attribution visible.

## Contract
- Required `text` and `sourceLabel` are literal text. Optional `sourceHref` links the label when a verified destination is available. The caller verifies the quotation and destination; the component accepts same-origin root-relative paths or absolute HTTPS URLs without credentials. Other values fall back to plain attribution.
- Uses Body typography, Text color and the Copy measure. The inline-start Border is separated from the content by primitive space 4; primitive space 2 separates the quote and attribution. No outer margin.

## Use
Chat Assistant Message renders this child for authored quotations. Review the Source link switcher in isolation or compare both variants between paragraphs in the parent preview.

## Do Not Use
Do not present summaries, invented quotations or unverified links as source material.

## Accessibility
The native blockquote and its figcaption share a figure. The source name appears outside the quoted words. Only linked attribution is focusable.

## Verification
Switch Source link between false and true. The quotation and source label stay the same; only the linked version navigates to the source.

## Enabled Profile Records
- Registry ID: reply-quote.
- Canonical route: /design-system/reply-quote/.
