---
title: 'Safe composition without taking over the page'
url: 'https://ruzne.info/modularis-component-showcase/blog/safe-composition'
markdown: 'https://ruzne.info/modularis-component-showcase/blog/safe-composition.md'
lang: en
date: '2026-05-03'
description: 'Page Composer only manages recognised Modularis sections. Foreign modular content remains visible in the page order but outside Modularis ownership. A modu'
taxonomy:
  category:
    - development
  tag:
    - modularis
    - composer
    - safety
    - grav
---

# Safe composition without taking over the page

Page Composer only manages recognised Modularis sections. Foreign modular content remains visible in the page order but outside Modularis ownership.

A modular page can contain more than one authoring system. That is why Modularis Page Composer treats ownership as a safety boundary rather than an invitation to edit everything it can see.

## Recognise before mutating

Composer works with sections that have an Modularis contract. Those sections can be added, removed or reordered through the Modularis workflow. A foreign modular section is different: Composer may show it as an anchor in the page order, but it must not silently rewrite its frontmatter or rename its directory.

Ordering follows the Grav-native `content.order.custom` mechanism. This avoids the tempting but dangerous pattern of changing numeric directory prefixes just to move a block on screen. Routes, links and external tools are less likely to be surprised when ordering metadata does the ordering job.

## Conservative by design

The same thinking appears in Launch Packs. Installation stages files, validates the package and refuses to overwrite an existing destination. Reinstall is explicit because replacing content is a meaningful action, not a side effect of updating the plugin.

The result may look less magical than a universal page builder, but the trade-off is deliberate. A safe tool should make its ownership visible, leave foreign content alone and prefer Grav mechanisms where they already solve the problem.

---

## Navigation

- Parent: [Showcase Journal](https://ruzne.info/modularis-component-showcase/blog.md)
- Previous: [A design system that does not own the content](https://ruzne.info/modularis-component-showcase/blog/design-system.md)
- Next: [Content discovery from pages you already have](https://ruzne.info/modularis-component-showcase/blog/content-discovery.md)
