{% include '@bolt-components-blockquote/blockquote.twig' with {
content: 'This is a blockquote component.'
} only %}
| Prop Name | Description | Type | Default Value | Option(s) |
|---|---|---|---|---|
|
attributes
|
A Drupal attributes object. Applies extra HTML attributes. |
object
| — |
|
|
content
|
The main blockquote content. |
any
| — |
|
|
size
|
Text size. |
string
|
large
|
|
|
weight
|
Text weight. |
string
|
semibold
|
|
|
align_items
|
Aligns items left, center, or right. |
string
|
start
|
|
|
border
|
Add a border. |
string
|
vertical
|
|
|
indent
|
Indent text. |
boolean
|
false
|
|
|
no_quotes
|
Hide quotation marks. |
boolean
|
false
|
|
|
logo
|
Add a logo. |
object
| — |
|
|
author
|
Author of the quote. |
object
| — |
|
npm install @bolt/components-blockquote
This is a blockquote component.
This is a blockquote component.
{% include '@bolt-components-blockquote/blockquote.twig' with {
content: 'This is a blockquote component.',
} only %}
![]()
This is a blockquote component with
logo.positionset totop(default).
This is a blockquote component with
logo.positionset tobottom.![]()
{% include '@bolt-components-blockquote/blockquote.twig' with {
content: 'This is a blockquote component.',
logo: {
content: paypal_logo,
position: 'bottom',
}
} only %}
This is a blockquote component with
sizeset tomedium.
This is a blockquote component with
sizeset tolarge.
This is a blockquote component with
sizeset toxlarge.
{% include '@bolt-components-blockquote/blockquote.twig' with {
content: 'This is a blockquote component.',
size: 'large',
} only %}
This is a blockquote component with
weightset tosemibold.
This is a blockquote component with
weightset tobold.
{% include '@bolt-components-blockquote/blockquote.twig' with {
content: 'This is a blockquote component.',
weight: 'bold',
} only %}
This is a blockquote component with
align_itemsset tostart.
This is a blockquote component with
align_itemsset tocenter.
This is a blockquote component with
align_itemsset toend.
{% include '@bolt-components-blockquote/blockquote.twig' with {
content: 'This is a blockquote component.',
align_items: 'end',
} only %}
This is a blockquote component with
borderset tovertical.
This is a blockquote component with
borderset tohorizontal.
This is a blockquote component with
borderset tonone.
{% include '@bolt-components-blockquote/blockquote.twig' with {
content: 'This is a blockquote component.',
border: 'horizontal',
} only %}
This is a blockquote component with
indentset tofalse.
This is a blockquote component with
indentset totrue.
{% include '@bolt-components-blockquote/blockquote.twig' with {
content: 'This is a blockquote component.',
indent: true,
} only %}
This is a blockquote component with
no_quotesset tofalse.
This is a blockquote component with
no_quotesset totrue.
{% include '@bolt-components-blockquote/blockquote.twig' with {
content: 'This is a blockquote component.',
no_quotes: true,
} only %}
This is a blockquote component with
--c-bolt-blockquote-max-widthset to44rem. Bacon ipsum dolor amet pastrami rump pork bresaola boudin ball tip venison filet mignon frankfurter short loin pork loin prosciutto t-bone leberkas swine.
This is a blockquote component with
--c-bolt-blockquote-max-widthset to400px. Bacon ipsum dolor amet pastrami rump pork bresaola boudin ball tip venison filet mignon frankfurter short loin pork loin prosciutto t-bone leberkas swine.
This is a blockquote component with
--c-bolt-blockquote-max-widthset to100%. Bacon ipsum dolor amet pastrami rump pork bresaola boudin ball tip venison filet mignon frankfurter short loin pork loin prosciutto t-bone leberkas swine.
{% include '@bolt-components-blockquote/blockquote.twig' with {
content: 'This is a blockquote component.',
attributes: {
style: '--c-bolt-blockquote-max-width: 100%;',
}
} only %}