{% 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.position
set totop
(default).
This is a blockquote component with
logo.position
set 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
size
set tomedium
.
This is a blockquote component with
size
set tolarge
.
This is a blockquote component with
size
set toxlarge
.
{% include '@bolt-components-blockquote/blockquote.twig' with {
content: 'This is a blockquote component.',
size: 'large',
} only %}
This is a blockquote component with
weight
set tosemibold
.
This is a blockquote component with
weight
set tobold
.
{% include '@bolt-components-blockquote/blockquote.twig' with {
content: 'This is a blockquote component.',
weight: 'bold',
} only %}
This is a blockquote component with
align_items
set tostart
.
This is a blockquote component with
align_items
set tocenter
.
This is a blockquote component with
align_items
set toend
.
{% include '@bolt-components-blockquote/blockquote.twig' with {
content: 'This is a blockquote component.',
align_items: 'end',
} only %}
This is a blockquote component with
border
set tovertical
.
This is a blockquote component with
border
set tohorizontal
.
This is a blockquote component with
border
set tonone
.
{% include '@bolt-components-blockquote/blockquote.twig' with {
content: 'This is a blockquote component.',
border: 'horizontal',
} only %}
This is a blockquote component with
indent
set tofalse
.
This is a blockquote component with
indent
set totrue
.
{% include '@bolt-components-blockquote/blockquote.twig' with {
content: 'This is a blockquote component.',
indent: true,
} only %}
This is a blockquote component with
no_quotes
set tofalse
.
This is a blockquote component with
no_quotes
set 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-width
set 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-width
set 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-width
set 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 %}