Homelogologo
Sponsor

Blockquote

Displays a quotation with optional attribution.

Usage

A compound component that provides a semantic way to display quotations. Use it to display a quotation with optional attribution.

import { Blockquote } from "@elemnts-ui/react";
<Blockquote> <BlockquoteContent> <p>The best way to predict the future is to invent it.</p> </BlockquoteContent> <BlockquoteCaption>— Alan Kay, Computer Scientist</BlockquoteCaption> </Blockquote>

API Reference

BlockquoteRoot

The root component for the Blockquote.

PropTypeDefault
asReact.ElementTypefigure
asChildbooleanfalse

BlockquoteContent

The content of the Blockquote.

PropTypeDefault
asReact.ElementTypeblockquote
asChildbooleanfalse

BlockquoteCaption

The caption of the Blockquote.

PropTypeDefault
asReact.ElementTypefigcaption
asChildbooleanfalse