Skip to content

list

Ordered and unordered lists

Preview

Default files

Snippet

<?php /** @var \Kirby\Cms\Block $block */ ?>
<?= $block->text();

To overwrite this default snippet, place your custom file in /site/snippets/blocks/list.php.

Blueprint

name: field.blocks.list.name
icon: list-bullet
wysiwyg: true
preview: list
fields:
  text:
    label: field.blocks.list.name
    type: list

To overwrite this default blueprint, place your custom file in /site/blueprints/blocks/list.yml.

Vue component

kirby/blob/master/panel/src/components/Blocks/Types/List.vue