Skip to content
GitHub

Blockquote

A component that highlights a key excerpt or quote from an article.

Blessed is the man that endureth temptation: for when he is tried, he shall receive the crown of life, which the Lord hath promised to them that love him.

Ja
James
1:12
import {
Blockquote,
BlockquoteAuthor,
BlockquoteAuthorAvatar,
BlockquoteAuthorBody,
BlockquoteAuthorDetails,
BlockquoteAuthorName,
BlockquoteIcon,
BlockquoteParagraph,
} from "@/components/features/pxl/magazine/blockquote";
export default function BlockquoteDemo() {
return (
<Blockquote>
<BlockquoteIcon position="start" />
<BlockquoteParagraph>
Blessed is the man that endureth temptation: for when he is tried, he
shall receive the crown of life, which the Lord hath promised to them
that love him.
</BlockquoteParagraph>
<BlockquoteIcon position="end" />
<BlockquoteAuthor>
<BlockquoteAuthorAvatar
src="https://raw.githubusercontent.com/pxl-ui/registry/main/app/public/portraits/wizard.png"
name="James"
/>
<BlockquoteAuthorDetails>
<BlockquoteAuthorName>James</BlockquoteAuthorName>
<BlockquoteAuthorBody>1:12</BlockquoteAuthorBody>
</BlockquoteAuthorDetails>
</BlockquoteAuthor>
</Blockquote>
);
}
pnpm dlx shadcn@latest add pxl-ui/registry/magazine/blockquote
import {
Blockquote,
BlockquoteAuthor,
BlockquoteAuthorAvatar,
BlockquoteAuthorBody,
BlockquoteAuthorDetails,
BlockquoteAuthorName,
BlockquoteIcon,
BlockquoteParagraph,
} from "@/components/features/pxl/magazine/blockquote";
<Blockquote>
<BlockquoteIcon position="start" />
<BlockquoteParagraph>
Blessed is the man that endureth temptation: for when he is tried, he
shall receive the crown of life, which the Lord hath promised to them
that love him.
</BlockquoteParagraph>
<BlockquoteIcon position="end" />
<BlockquoteAuthor>
<BlockquoteAuthorAvatar
src="https://raw.githubusercontent.com/pxl-ui/registry/main/app/public/portraits/wizard.png"
name="James"
/>
<BlockquoteAuthorDetails>
<BlockquoteAuthorName>@wizard</BlockquoteAuthorName>
<BlockquoteAuthorBody>4 Sept, 2025</BlockquoteAuthorBody>
</BlockquoteAuthorDetails>
</BlockquoteAuthor>
</Blockquote>

Use the following composition to build a Blockquote

Blockquote
├── BlockquoteIcon
├── BlockquoteParagraph
├── BlockquoteIcon
└── BlockquoteAuthor
├── BlockquoteAuthorAvatar
└── BlockquoteAuthorDetails
├── BlockquoteAuthorName
└── BlockquoteAuthorBody
Prop Type Default Description
className - - Additional styles
Prop Type Default Description
className - - Additional styles
Prop Type Default Description
className - - Additional styles
Prop Type Default Description
className - - Additional styles
Prop Type Default Description
className - - Additional styles
Prop Type Default Description
className - - Additional styles
Prop Type Default Description
className - - Additional styles
Prop Type Default Description
className - - Additional styles