Component
Component
Persisted reusable Quail Pages component content.
Components are conventionally stored beneath the site's components/ directory and are referenced from pages or other supported authored structures. They are not rendered as standalone pages.
A component may contain either:
- one complete page section for section-level reuse, or
- an ordered list of page elements for element-level reuse.
At render time, a section-level component must be a complete standard or region-based section with an id and exactly one of elements or regions. Element-level component content must remain an array, including when it contains only one element.
Components are a single level of persisted reuse. Component content may not contain ComponentRef values, so components cannot compose, recursively reference themselves, or participate in indirect reference cycles.
Authoring guidance
Use when
Avoid when
Can be one of:
Example
Required
Full
examples are generated from the schema.