Blockquote
A quote, marked by an accent rule on the left.
Usage
It renders a blockquote and sets only the rule and the padding. Font, size and colour come from wherever you put it.
tsx
<Blockquote>
<p>Simple things should be simple, complex things should be possible.</p>
</Blockquote>Simple things should be simple, complex things should be possible.
Attribution
The author goes outside the quote, in a figcaption. The source URL goes in cite.
tsx
<figure>
<Blockquote cite="https://example.com/talk">
<p>Simple things should be simple, complex things should be possible.</p>
</Blockquote>
<figcaption>— Alan Kay</figcaption>
</figure>Simple things should be simple, complex things should be possible.
Notes and warnings
For content that isn't a quote, like a note or a warning, use Callout.
Reference
| prop | type | default | |
|---|---|---|---|
as? | ElementType | "blockquote" | the element or component to render |
className? | string | — | added after the component's own class: what you set wins |
…rest | props of as | — | cite, id, aria-* and the rest of the element's props |