Reference

Guide

quote

A quote with optional citation

Preview

Default snippet

/site/snippets/blocks/quote.php
<blockquote>
  <?= $block->text() ?>
  <?php if ($block->citation()->isNotEmpty()): ?>
  <footer>
    <?= $block->citation() ?>
  </footer>
  <?php endif ?>
</blockquote>

Default blueprint

name: field.blocks.quote.name
icon: quote
preview: quote
fields:
  text:
    label: field.blocks.quote.text.label
    placeholder: field.blocks.quote.text.placeholder
    type: writer
    inline: true
    icon: quote
  citation:
    label: field.blocks.quote.citation.label
    placeholder: field.blocks.quote.citation.placeholder
    type: writer
    inline: true
    icon: user

Default Vue Component

https://github.com/getkirby/kirby/blob/master/panel/src/components/Blocks/Types/Quote.vue