Skip to content

Blockquote ​

Base element styles for <blockquote>. Clean default with left accent border.


Styling ​

PropertyValue
border-left3px solid var(--color-primary)
backgroundvar(--color-surface)
paddingvar(--space-lg) var(--space-xl)
border-radiusvar(--radius-md)
colorvar(--color-text-secondary)
font-styleitalic
line-heightvar(--line-height-relaxed)

Nested <p> tags have margin: 0.

Preview ​

Design tokens are contracts between design and implementation.


Usage ​

html
<blockquote>
  <p>Design tokens are contracts between design and implementation.</p>
</blockquote>

Variants ​

.blockquote--quotes ​

Decorative typographic quote mark as a pseudo-element.

ClassPurpose
.blockquote--quotesAdds a large " character in the top-left corner

Tokens are contracts between design and implementation. Name them by function — not color.

html
<blockquote class="blockquote--quotes">
  <p>Name tokens by function — not color.</p>
</blockquote>

.blockquote--gradient ​

Left accent fades from primary to transparent.

ClassPurpose
.blockquote--gradientReplaces solid border-left with a gradient pseudo-element

Tokens are contracts between design and implementation. Name them by function — not color.

html
<blockquote class="blockquote--gradient">
  <p>Name tokens by function — not color.</p>
</blockquote>

.blockquote--pull ​

Magazine-style centered pull-quote with top/bottom borders.

ClassPurpose
.blockquote--pullRemoves background and left border, adds horizontal rules, centers text

Tokens are contracts between design and implementation.

html
<blockquote class="blockquote--pull">
  <p>Name tokens by function — not color.</p>
</blockquote>