Skip to documentation
McDocs

Documentation

Patterns

Create reusable authored sections that can be placed into content.

Patterns are reusable pieces of content managed as Resources. They are useful for repeated notices, feature blocks, calls to action and other authored sections.

Create a Pattern

Open Content → Patterns, create the Pattern and keep its content useful on its own. A Pattern can also carry scoped styling or trusted JavaScript when that is genuinely required.

Reuse it

Insert the Pattern into Pages or other supported Resources. Because it has a stable Resource identity, updates can be managed without copying the same block into every page.

Portable design

Patterns can travel inside Resource Packs, making them useful for reusable first-party site compositions.