Blockquote

Used to quote text content from an external source

If anyone thinks he is something when he is nothing, he deceives himself. Each one should test his own actions. Then he can take pride in himself, without comparing himself to anyone else.

Usage

import { Blockquote } from "chakra-ui-solid";
<Blockquote.Root>
  <Blockquote.Content cite="https://" />
  <Blockquote.Caption>
    <cite>Uzumaki Naruto</cite>
  </Blockquote.Caption>
</Blockquote.Root>

If you prefer a closed component composition, check out the snippet below.

Examples

With Cite

To provide reference about the blockquote:

  • pass the cite prop to Blockquote.Content pointing to the quote url
  • render the Blockquote.Caption component to display name of quote author
If anyone thinks he is something when he is nothing, he deceives himself. Each one should test his own actions. Then he can take pride in himself, without comparing himself to anyone else.
— Uzumaki Naruto

Colors

Use the colorPalette prop to change the color of the blockquote.

gray

If anyone thinks he is something when he is nothing, he deceives himself. Each one should test his own actions.
— Uzumaki Naruto

red

If anyone thinks he is something when he is nothing, he deceives himself. Each one should test his own actions.
— Uzumaki Naruto

green

If anyone thinks he is something when he is nothing, he deceives himself. Each one should test his own actions.
— Uzumaki Naruto

blue

If anyone thinks he is something when he is nothing, he deceives himself. Each one should test his own actions.
— Uzumaki Naruto

teal

If anyone thinks he is something when he is nothing, he deceives himself. Each one should test his own actions.
— Uzumaki Naruto

pink

If anyone thinks he is something when he is nothing, he deceives himself. Each one should test his own actions.
— Uzumaki Naruto

purple

If anyone thinks he is something when he is nothing, he deceives himself. Each one should test his own actions.
— Uzumaki Naruto

cyan

If anyone thinks he is something when he is nothing, he deceives himself. Each one should test his own actions.
— Uzumaki Naruto

orange

If anyone thinks he is something when he is nothing, he deceives himself. Each one should test his own actions.
— Uzumaki Naruto

yellow

If anyone thinks he is something when he is nothing, he deceives himself. Each one should test his own actions.
— Uzumaki Naruto

Variants

Use the variant prop to change the visual style of the blockquote.

If anyone thinks he is something when he is nothing, he deceives himself. Each one should test his own actions. Then he can take pride in himself, without comparing himself to anyone else.
If anyone thinks he is something when he is nothing, he deceives himself. Each one should test his own actions. Then he can take pride in himself, without comparing himself to anyone else.

Icon

Here’s an example of how to compose the Float and Blockquote.Icon to show an icon on the blockquote. The default icon is a double quote.

If anyone thinks he is something when he is nothing, he deceives himself. Each one should test his own actions. Then he can take pride in himself, without comparing himself to anyone else.
— Uzumaki Naruto

Alternatively, you can render a custom icon.

If anyone thinks he is something when he is nothing, he deceives himself. Each one should test his own actions. Then he can take pride in himself, without comparing himself to anyone else.
— Uzumaki Naruto

Justify

Use the justify prop to change the alignment of the blockquote.

start

If anyone thinks he is something when he is nothing, he deceives himself. Each one should test his own actions. Then he can take pride in himself, without comparing himself to anyone else.
— Uzumaki Naruto

center

If anyone thinks he is something when he is nothing, he deceives himself. Each one should test his own actions. Then he can take pride in himself, without comparing himself to anyone else.
— Uzumaki Naruto

end

If anyone thinks he is something when he is nothing, he deceives himself. Each one should test his own actions. Then he can take pride in himself, without comparing himself to anyone else.
— Uzumaki Naruto

With Avatar

Here’s an example of how to compose the Blockquote, Avatar and Float components to create a stunning testimonial component.

If anyone thinks he is something when he is nothing, he deceives himself. Each one should test his own actions. Then he can take pride in himself, without comparing himself to anyone else.
EJ
Emily Jones

Closed Component

Here’s an example of how to create a closed component composition

If anyone thinks he is something when he is nothing, he deceives himself.
— Uzumaki Naruto

Props

Root

BlockquoteRootProps
PropDefaultType
justify'start'
ConditionalValue<'start' | 'center' | 'end' | PresetVariant<'blockquote', 'justify'>>

Which edge the quote and its caption line up against, and how the text is aligned.

variant'subtle'
ConditionalValue<'subtle' | 'solid' | 'plain' | PresetVariant<'blockquote', 'variant'>>

The rule down the leading edge — `subtle` draws it in the muted palette step, `solid` in the solid one, and `plain` leaves the padding without the rule.

Plus HTMLChakraProps<"figure"> — the whole style-prop surface and the DOM attributes of the element it renders, several hundred names listed as their sources rather than expanded — and the three every component takes: as, render and unstyled.