Blockquote
Style
A blockquote is a combination of elements used to give visual prominence to a quotation. By default, a blockquote includes a quote icon, quotation text, and citation text at a minimum. A blockquote may also include the following optional elements:
- Emphasis border
- Logo
- Title and heading text
- Interactive elements or layouts like a video or card
Sizes
Size | Element | Current value |
---|---|---|
Default | Text size - quotation | 20px, 1.25rem |
Default | 30 (1.5) | |
Large | 28px, 1.75rem | |
Large | 36.4 (1.3) | |
Default and Large | 14px, 0.875rem | |
Default and Large | 21 (1.5) |
Theme
A blockquote is available in both light and dark themes.
Light theme
Element | Current value |
---|---|
Color - quote icon | #EE0000 |
Color - quotation text | #151515 |
Color - citation text | #4D4D4D |
Dark theme
Element | Current value |
---|---|
Color - quote icon | #FF542E |
Color - quotation text | #FFFFFF |
Color - citation text | #C7C7C7 |
Emphasis border
Emphasis level | Light theme | Dark theme |
---|---|---|
Primary | #EE0000 | #FF542E |
Secondary | #151515 | #FFFFFF |
Title and heading text
Element | Light theme | Dark theme |
---|---|---|
Title text | #EE0000 | #FF542E |
Heading text | #151515 | #FFFFFF |
Configuration
The base elements in both sizes are stacked and left aligned by default, but they can be vertically centered if necessary.
Order
A blockquote was designed to be read from top to bottom. If certain optional elements are included, the order will change.
Citation text
Citation text has specific styles applied to it.
Property | Current value |
---|---|
Font family - all text | Red Hat Text |
Font weight - name | Medium |
Font weight - job title and company | Regular |
Font style - company | Italic |
Space
Space values are the same in both sizes and on all breakpoints.
Example | Token | Description |
---|---|---|
8 | --rh-space-md | 8px spacer |
16 | --rh-space-lg | 16px spacer |
32 | --rh-space-2xl | 32px spacer |
Interaction states
A blockquote includes text only and is not interactive unless interactive elements are added like a video or other elements within a card. If interactive elements are added, go to their element or pattern pages to view the interaction states.
Other libraries
To learn more about our other libraries, visit this page.
Feedback
To give feedback about anything on this page, contact us.