Skip to content

Blockquote

Styled block quotation with an optional citation footer.

The best way to predict the future is to invent it.
<Blockquote>The best way to predict the future is to invent it.</Blockquote>
The best way to predict the future is to invent it.
— Alan Kay
<Blockquote
cite="— Alan Kay"
>
The best way to predict the future is to invent it.
</Blockquote>
The best way to predict the future is to invent it.
<Blockquote
cite={( <> — Alan Kay,{' '} <a href="https://en.wikipedia.org/wiki/Alan_Kay">Wikipedia</a> </> )}
>
The best way to predict the future is to invent it.
</Blockquote>

The best way to predict the future is to invent it.

This is especially true in the field of computing, where the boundaries of what is possible are constantly being redefined.

— Alan Kay
<Blockquote
cite="— Alan Kay"
>
{( <> <p>The best way to predict the future is to invent it.</p> <p> This is especially true in the field of computing, where the boundaries of what is possible are constantly being redefined. </p> </> )}
</Blockquote>

Styled block quotation with an optional citation footer.

PropTypeDefaultDescription
children*ReactNode—Quoted content.
citeReactNode—Citation text rendered in a footer below the quote.
classNamestring—Additional CSS class names applied to the root element.
data-testidstring—Test ID applied to the root element.
refRef<HTMLQuoteElement>—Ref forwarded to the blockquote element.
styleCSSProperties—Inline styles applied to the root element.