Angular sample lab
Standalone components, the widget provider, and a published widget on a demo page.
DevelopersAngular
Angular SDK
Keep the Angular app you already run. Marketers compose in RuleCMS, you publish with environment tokens, and @rulecms/widget-angular renders the default component set.
Add @rulecms/widget-angular and render a published widget.
The CMS journey does not require a React frontend.
If your product is Angular — or Angular on the admin shell and something else on the marketing site — you can still buy RuleCMS and keep that architecture. Editors get the visual composer, device preview, staging, and production. You get a standalone widget component, a provider for the token and libraries, and the same published keys every other SDK uses.
What Angular renders today is the default RuleCMS card set: text, images, video, icons, buttons, dividers, embeds, lists, and accordions. That covers a long customer journey — campaigns, FAQs, studio pages, and calls to action — without asking you to rewrite the host app. Custom design-system registration in the composer is the React-only depth; the rest of the product is yours on Angular.
The widget package fetches and lays out. The source-components package paints the cards.
Install both packages. Register @rulecms/source-components-angular as the default library. Wrap the tree with rulecms-widget-provider so every widget on the page shares the token. Peer dependencies are Angular 17 or newer.
Same routing rules as the React SDK.
environmentId---widget-… published key, served from widget-cache.dev. token + draft widget-… key for live drafts.Fetch on the server (or at build time), then render with mode="pre-fetched" so images and copy are in the first HTML. The client does not refetch and does not need the token. Pre-fetched mode uses CSS breakpoint variants so the server HTML matches every viewport.
Token setup: projects, environments, and tokens.
A published button should call into your Angular app.
Pass componentProps keyed by the column id the composer shows. A bare id matches every copy of a repeated collection. A path of enclosing collection columns targets one embedding. r-button reads onClick. The renderer never inspects the bag. In development, a key that addresses no column prints once.
The public Angular sample lab is a teaching project: clone it to see the provider wiring, not to fork a production app.
Install from the public registry. These are the supported SDK surfaces — not GitHub source repos.
Public teaching projects that show the integration pattern. Copy the wiring, not the app architecture — they are not production starters.
Standalone components, the widget provider, and a published widget on a demo page.
Need the product docs for tokens, widgets, or the headless API? Start at Getting started, then environments and tokens and the API reference.
Same published widgets and environment tokens. Pick the guide for the stack you ship.
Dive deeper into what makes RuleCMS different.
Unlimited orgs, teams, and members — no per-seat fees
162 permissions, 70 roles, environment-aware access
Version history, visual diff, one-click revert
Create once, embed everywhere
SDKs for React, Angular, Vue, Svelte, HTML, Flutter, and React Native
Server rendering, edge caching, responsive media
Create a project, provision three environments, and copy a scoped API token.