Core Concepts
Pages & Composition
Pages in Lyrix are serializable JSON structures composed of blocks.
A page is just data
Lyrix pages are plain JSON arrays of block references. This makes them easy to store, version, and transfer between environments.
json
{
"slug": "home",
"blocks": [
{ "type": "Hero", "props": { "title": "Welcome" } },
{ "type": "Features", "props": { "items": [...] } },
{ "type": "CTA", "props": { "label": "Get Started" } }
]
}