Skip to content

Blockquote

The most dangerous phrase in the language is, "We've always done it this way."
Grace Hopper

A <blockquote> for quoted prose, with optional attribution.

<script>
import Blockquote from "@invisible-ui/svelte/Blockquote.svelte";
</script>

In Elements:

<ds-blockquote cite="Leonardo da Vinci">
Simplicity is the ultimate sophistication.
</ds-blockquote>
PropTypeDefaultDescription
citestring | Snippet | undefinedundefinedAttribution: text, or a snippet for rich content.
citeUrlstring | undefinedundefinedSource URL (sets the cite attribute / links the attribution).

The quote is the children; cite takes plain text or a snippet.

<Blockquote cite="Grace Hopper">We've always done it this way.</Blockquote>

In React, cite takes text or markup:

<Blockquote cite="Grace Hopper">We've always done it this way.</Blockquote>

Themeable via --ds-blockquote-*.