Experimental. This package stays on 0.x and is not covered by the TanStack CMS 1.0 semver guarantee: any release may change or remove its exports. The supported 1.0 stack is TanStack Start with
@tanstack/cms-ui-react; Svelte apps can rely on the framework-neutral@tanstack/cms-core,@tanstack/cms-apiHTTP API, and@tanstack/cms-client. See the versioning policy.
Framework-agnostic DOM / HTML-string view layer for TanStack CMS — SSR HTML renderers for blocks, Markdown, responsive media, and layout shells, plus Svelte-friendly $store-compatible auth bindings, use: actions, and WebMCP. Usable from Svelte, vanilla DOM, or any framework that can mount an HTML string. Prebuilt .svelte components are out of scope — the @tanstack/cms-ui-svelte name is reserved for those post-1.0.
- Blocks & Markdown:
BlocksView,BlockView,blocksView(Svelte action),renderBlocksToHtml,renderBlockToHtml,renderMarkdownToHtml - Media:
MediaImg,mediaImg(Svelte action),mediaImgAttrs,mediaSrcSet - Layout Shells:
SiteShell,DocsLayout,buildDocsSidebarTree - Auth:
createCmsAuthStore,setCmsAuthContext,getCmsAuthContext,useCmsAuth,useCan,useCmsAi,createMockAuth,DEFAULT_MOCK_PERSONAS - WebMCP:
webMcpBadge(Svelte action),startWebMcpServer - Vite:
tanstackCmsfrom@tanstack/cms-ui-dom/vite - Styles:
@tanstack/cms-ui-dom/styles.css