Sankhya CMS
Lit web components (st-*) for building JSON-driven portals, with thin React bindings.
| Package | What it is |
|---|---|
@sankhyatronics/sankhya-cms | The components. Every base component is implemented once, here, as a Lit element. Also ships the theme CSS and the JSON schema. |
@sankhyatronics/sankhya-cms-react | React wrappers over the elements, plus DynamicRenderer, which renders page JSON. |
How it fits together
- Content is plain JSON: a list of nodes such as
{ "type": "Hero", "title": "…" }. See Page JSON. - Components are custom elements, so they work in any framework or none. See Components.
- A renderer turns JSON into elements. The React package ships one; another binding only has to map each JSON
typeto its element (the map is exported ascomponentTags). - Theming is CSS custom properties. See Theming.
Start with Getting started.