Blockquote
A quotation set in the display font, with an accent rule and optional attribution.
Status: beta. Category: Typography.
import { Blockquote } from '@glyphui/ui'
Exports: Blockquote, blockquoteStyles.
Example: With attribution
import { Blockquote } from '@glyphui/ui'
export default function Example() {
return (
<Blockquote author="Ada Lovelace" source="Notes on the Analytical Engine, 1843">
The Analytical Engine weaves algebraic patterns just as the Jacquard loom weaves flowers and
leaves.
</Blockquote>
)
}
Example: Sizes
import { Blockquote } from '@glyphui/ui'
export default function Example() {
return (
<div className="grid gap-8">
<Blockquote size="sm" author="Support ticket #2210">
The new export saved our finance team a full day each month.
</Blockquote>
<Blockquote size="lg" author="Head of Design, Acme">
We swapped one file and the whole product looked like ours.
</Blockquote>
</div>
)
}
Live page: https://glyphui.xyz/components/blockquote