Default

Imagination is more important than knowledge.— Albert Einstein
<Blockquote cite="— Albert Einstein">
  Imagination is more important than knowledge.
</Blockquote>

With accent color

A blue accented quote.— Author
A violet accented quote.— Author
A green accented quote.— Author
<Blockquote color="blue" cite="— Author">A blue accented quote.</Blockquote>
<Blockquote color="violet" cite="— Author">A violet accented quote.</Blockquote>
<Blockquote color="green" cite="— Author">A green accented quote.</Blockquote>

With icon

❝The best way to predict the future is to invent it.— Someone wise
<Blockquote icon="❝" iconSize={24} cite="— Someone wise">
  The best way to predict the future is to invent it.
</Blockquote>

With radius

Rounded corners on the blockquote container.
<Blockquote radius="lg" color="orange">
  Rounded corners on the blockquote container.
</Blockquote>

Props

PropTypeDefaultDescription
citeReactNode—Citation source rendered below the quote
colorstring—Accent color applied to the left border and background
iconReactNode—Icon element displayed at the top of the blockquote
iconSizestring|number—Size of the icon in pixels or any CSS length
radius'xs'|'sm'|'md'|'lg'|'xl'|string—Border radius of the container
textWrap'wrap'|'nowrap'|'balance'|'pretty'|'stable'—Controls how quote text wraps
classstring—Additional CSS class names
styleobject—Inline styles
childrenReactNode—Quote content