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
- Quote icon
- Quotation text
- Citation text
- Logo or text placeholder
- Emphasis border
Sizes
Size | Element | Current value |
---|---|---|
Default | Text size - quotation | 20px, 1.25rem |
Default | Line height - quotation | 30 (1.5) |
Large | Text size - quotation | 28px, 1.75rem |
Large | Line height - quotation | 36.4 (1.3) |
Default and Large | Text size - citation | 14px, 0.875rem |
Default and Large | Line height - citation | 21 (1.5) |
Theme
A blockquote is available in both light and dark themes.
Light theme
Property | Current value |
---|---|
Color - quote icon | #EE0000 |
Color - quotation text | #151515 |
Color - citation text | #4D4D4D |
Dark theme
Property | 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.
- Logo or text (always ordered first if included)
- Quotate icon (always included and ordered first if there is no logo or text)
- Quotation text (always ordered after the quote icon)
- Citation text (always ordered last)
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.
Related elements or patterns
Feedback
To give feedback about anything on this page, contact us.
Red Hat legal and privacy links
- About Red Hat
- Jobs
- Events
- Locations
- Contact Red Hat
- Red Hat Blog
- Diversity, equity, and inclusion
- Cool Stuff Store
- Red Hat Summit