API Reference

Page Types

All canonical page types across domains - routing, query bindings, and entity resolution

Page types define the kinds of pages your storefront can render. Each page type declares a kind (static or dynamic), the queries it needs, and the URL pattern it matches. Connector apps and the Studio use these definitions to wire up routing, data fetching, and page management.

  • Dynamic page types exist once per project and resolve URLs with parameters (e.g., /products/:slug).
  • Static page types can have multiple instances — each with its own URL and content (e.g., landing pages).

Import page types from their domain package (e.g., @laioutr-core/canonical-types/ecommerce). For a conceptual overview — including how to create custom page types — see the Page Types feature guide.

Core

General-purpose page types that every storefront needs.

Home

core/home
dynamic/

Landing Page

core/landingpage
static

Content Page

core/contentpage
static

404 Not Found

core/404
dynamic/:catchall*

Ecommerce

Product catalog and search pages.

Product Detail Page

ecommerce/product-detail-page
dynamic/products/:slug+
product Product

Product Listing

ecommerce/product-listing-page
dynamic/categories/:slug+
category Category
products Product
ecommerce/product-search-page
dynamic/search
products Product

Blog

Blog post and collection pages.

Blog Post

blog/post-single
dynamic/blog/:slug+
blogpost BlogPost

Blog Listing

blog/post-listing
dynamic/blog
Lists all blog posts. If you have separate collections for your blog-posts, use the "Blog Collection Overview" page-type instead.
blogposts BlogPost

Blog Collection

blog/collection
dynamic/blogs/:slug
Lists all posts of a blog-collection. Therefore this page-type requires a `slug` parameter to identify the collection. If you do not have separate collections for your blog-posts, use the "Blog Listing" page-type instead.
blogcollection BlogCollection