Skip to content
v0.2.10

Blockquote

A quoted passage with an optional compact attribution.

Preview
Good interfaces make room for what matters.
The Flood team

Use Blockquote

Blockquote is a named export of @flood-md/react. Connect the package once, then import what you use.

First time here? Connect Flood
Example import style
blockquote.tsxTSX
"use client";

import { FloodRoot, Blockquote } from "@flood-md/react";
import "@flood-md/react/styles.css";

export function Example() {
  return (
    <FloodRoot>
      <Blockquote attribution="The Flood team">Good interfaces make room for what matters.</Blockquote>
    </FloodRoot>
  );
}

Design notes

  • Uses native blockquote; cite remains a source URL, while attribution is visible host-authored credit. Rich quote content and attribution are supported.
  • The logical leading rule follows RTL. Supply quotation punctuation as part of your actual content; the component does not invent a quotation or source.
  • Compatible addition in 0.2.5. Uses existing Flood semantic tokens and relative geometry.

API reference

PropValuesDefault
attributionReactNode—
Native HTML propsBlockquoteHTMLAttributes<HTMLQuoteElement>Forwarded
View TypeScript source