TrademarkTrademark
Docs
Ctrl k
Search docs...
Components

BlockQuote

Updated: May 8, 2025
View on GitHub

Use BlockQuote to present quoted text with emphasis and proper semantics. It renders a semantic <blockquote> element and forwards all layout and style props from Flex.

Content

Use the children prop as the quote text and display an additional preline or subline.

Attach a citation source using the link attribute. This is useful for accessibility and provenance.

Author

Include an author line below the quote.

Separators

Adjust the visibility of the separator lines by setting top, bottom or none to the separator prop.

Alignment

Adjust the alignment of the quote text by setting align to left, center or right.

Styling

BlockQuote ships with a default look, but you can override appearance using any Flex styling props.

API Reference

Type
Default
children
React.ReactNode—
preline
Content rendered above the quote, such as a label or eyebrow.
React.ReactNode—
subline
React.ReactNode—
separator
topbottombothnone
both
author
{ name?: React.ReactNode; avatar?: string; }—
link
{ href: string; label: string }—
style
React.CSSProperties—
className
string—
align
centerleftright
center
…and every FlexProps propinherited—

Accessibility Considerations

BlockQuote renders a semantic <blockquote> element to convey quoted content to assistive technologies. Provide a link URL when available to reference the source. Ensure sufficient color contrast if you override the default background or onBackground props.

Edit this page on GitHub
TrademarkTrademark
Built with curiosity by Lorant One and the Design Engineers Club