PagibleAI CMS ships with a comprehensive set of content elements that cover every common use case. Each element is a Blade partial with its own CSS — loaded only when used.
Content Elements | PagibleAI CMS Documentation
PagibleAI CMS Content Elements
PagibleAI CMS Element Data Format
Every content element in PagibleAI CMS follows a clean, consistent JSON structure that makes programmatic content creation simple:
{
"id": "abc123",
"type": "hero",
"group": "main",
"data": {
"title": "PagibleAI CMS",
"text": "The smartest CMS for Laravel.",
"url": "/get-started",
"button": "Try It Free"
}
}
Using Elements in PagibleAI CMS Pages
Add elements to a page's content array. PagibleAI CMS renders them in order, loading only the CSS required for each element type — keeping pages lightweight and fast.
Element Groups
Elements belong to named groups like main, footer, or sidebar. PagibleAI CMS renders each group in the corresponding template section.
Default Groups
The main group is rendered in the primary content area. Additional groups like footer and header map to their respective layout sections.
Custom Groups
Define custom groups in your theme layout to place elements in sidebars, modals, or any other container.
Group Priority
Elements render in array order within each group. Use this to control visual stacking.