Skip to content
mdxcn is now part of Shadcn Labs. details

quote

Quote

A sentence someone else said, with their name underneath. For your own caveat, use Callout.

use it
Good for one sentence someone else said, with a name under it.
instead
Your own caveat is Callout.

attributed

by is the name. source is muted after it. No frame title.

A thousand barely audible voices all singing in tune.

Paul GrahamTaste for Makers
import { Quote } from "@/registry/default/quote/quote"

<Quote by="Paul Graham" source="Taste for Makers">
  A thousand barely audible voices all singing in tune.
</Quote>

install

command

titled

Pass title when the quote belongs to a section.

[ PRINCIPLE ]

Good design is as little design as possible.

Dieter Rams
import { Quote } from "@/registry/default/quote/quote"

<Quote title="PRINCIPLE" by="Dieter Rams">
  Good design is as little design as possible.
</Quote>
[ PROPS ]
PropTypeDefaultDescription
bystring—Who said it. Drawn after an em dash.
sourcestring—Where. Muted, after the name.
titlestring—Optional frame title. Off by default.
childrenReactNode—Markdown. The quote itself.
cornerstring"+"Character at each corner of the frame.
frame"box" | "corners" | "rule" | "none""box"box draws the dashed border. corners keeps only the corner marks. rule draws dashed lines above and below. none drops the border and padding, and puts the title above the content.
classNamestring—Passed to the outer frame.