Skip to Content
DocsResourcesShowcase

Blockquote

Used to quote text content from an external source

SourceStorybookRecipe
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.

import { Blockquote } from '@saas-ui/react'

export default function Example() {
  return (
    <Blockquote>
      <p>
        Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod
        tempor incididunt ut labore et dolore magna aliqua.
      </p>
    </Blockquote>
  )
}

Use the cite prop to provide the source of the blockquote. This will be displayed below 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.
— Uzumaki Naruto

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. Then he can take pride in himself, without comparing himself to anyone else.
— Uzumaki Naruto

red

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

green

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

blue

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

teal

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

pink

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

purple

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

cyan

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

orange

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

yellow

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

Use the variant prop to change the visual style of the blockquote. Values can be either subtle, solid, plain.

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.

Use the showIcon prop 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

Use the icon prop to change the icon 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.
Uzumaki Naruto

PropDefaultType
colorPalette 'gray'
'gray' | 'red' | 'orange' | 'yellow' | 'green' | 'teal' | 'blue' | 'cyan' | 'purple' | 'pink' | 'accent'

The color palette of the component

justify 'start'
'start' | 'center' | 'end'

The justify of the component

variant 'subtle'
'subtle' | 'solid'

The variant of the component

Previous

Stack

Next

Code