2.0 alpha
These docs describe 2.0. Install it with @once-ui-system/core@alpha.
On 1.8.x? Read the 1.x docs
TrademarkTrademarkDocs
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. 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. Include an author line below the quote. Adjust the visibility of the separator lines by setting top, bottom or none to the separator prop. Adjust the alignment of the quote text by setting align to left, center or right. BlockQuote ships with a default look, but you can override appearance using any Flex styling props.
Prop
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
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