Blockquote

Overview Style Guidelines Code Demos Accessibility
  1. Installation
  2. Usage
  3. rh-blockquote
  1. Installation
  2. Usage
  3. rh-blockquote

Installation

Usage

<rh-blockquote>
  <p>In open source, we feel strongly that to really do something well, you have to get a lot of people involved.</p>
  <span slot="author">Linus Torvalds</span>
  <span slot="title">Software Engineer</span>
</rh-blockquote>

rh-blockquote

Slots 3
Slot Name Description

Provide a quote for the blockquote

author

Provide an author for the blockquote

title

Provide an author title for the blockquote

Attributes 5
DOM Property Description Type Default
title
string
'Blockquote'
colorPalette

Set the colorPalette of the blockquote. Possible values are:

  • lightest (default)
  • darkest
ColorPalette | undefined
unknown
align

Set the alignment of the blockquote. Possible values are:

  • left (default)
  • center
'center' | 'inline-start'
'inline-start'
highlight

Optional highlight attribute that, when present, shows a highlight on side of blockquote.

boolean
false
size

Set the text size of the blockquote. Possible values are:

  • default
  • large
'default' | 'large'
'default'
Methods 0

None

Events 0

None

CSS Shadow Parts 0

None

CSS Custom Properties 0

None

Design Tokens 18

Token Copy
--rh-color-accent-brand
--rh-color-icon-primary
--rh-color-text-primary
--rh-color-text-secondary
--rh-font-family-body-text
--rh-font-family-heading
--rh-font-size-body-text-2xl
--rh-font-size-body-text-lg
--rh-font-size-body-text-sm
--rh-font-size-body-text-xl
--rh-font-size-heading-md
--rh-font-weight-heading-bold
--rh-font-weight-heading-regular
--rh-length-lg
--rh-length-md
--rh-length-xl
--rh-line-height-body-text
--rh-line-height-heading