Content sites, no storefront required.
Blog, marketing, and docs sites use the CMS surface on its own. Discover the connected site's collections — Webflow CMS collections, Wix Data collections, or Shopify metaobject types — then read their items.
'use client';
import { useCmsItems } from 'trama-sdk';
export default function Blog() {
const { items } = useCmsItems('blog-posts'); // collection id or slug
return (
<ul>
{items.map((post: any) => (
<li key={post.id}>{post.title}</li>
))}
</ul>
);
}To enumerate collections server-side: await client.getCmsCollections().