atoms
Applies permitted design system styles. See styling documentation for more.
A simple wrapper that returns React.Children
in a blockquote
element.
Quotation marks do not need to be used in the given quote as these get applied automatically based on the number of child elements and the lang
attribute of the documents html
element.
By default, standard open and close quotation marks (“ ”
) are applied.
Simple BlockQuote with plain text:
Practice makes perfect
Complex BlockQuote with block and inline elements:
What doesn't kill you makes you stronger
When life gives you lemons, make lemonade
I think, therefore I am
<Stack gap="16px"><Text>Simple BlockQuote with plain text:</Text><BlockQuote>Practice makes perfect</BlockQuote><Text>Complex BlockQuote with block and inline elements:</Text><BlockQuote><p>What doesn't kill you makes you{' '}<b>stronger</b></p><p>When life gives you lemons, make lemonade</p><p>I think, therefore{' '}<u>I am</u></p></BlockQuote></Stack>
When the lang
attribute of the page is fr
, guillemet quotation marks (« »
) are applied.
Mieux vaut prévenir que guérir
<div lang="fr"><BlockQuote>Mieux vaut prévenir que guérir</BlockQuote></div>
When the lang
attribute of the page is ja
, kagikakko quotation marks (「 」
) are applied.
七転び八起き
<div lang="ja"><BlockQuote>七転び八起き</BlockQuote></div>
atoms
Applies permitted design system styles. See styling documentation for more.