Skip to content

Kirby 4.5.0

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/main/panel/src/components/Forms/Blocks/Types/List.vue