JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 34
  • Score
    100M100P100Q54945F

Pure view React components (React 19) for making portals. These components are designed to use with headless CMS.

Package Exports

  • @sankhyatronics/sankhya-ui

Readme

@sankhyatronics/SankhyaUI

The core UI library for the SankhyaUI system. Build dynamic, JSON-driven portals with ease.

Installation

pnpm add @sankhyatronics/SankhyaUI

Quick Start

import { DynamicRenderer } from '@sankhyatronics/SankhyaUI';
import '@sankhyatronics/SankhyaUI/styles';

const pageData = [
  {
    type: "Hero",
    data: {
      Title: "Hello World",
      SubTitle: "Welcome to my portal"
    }
  }
];

function App() {
  return <DynamicRenderer data={pageData} />;
}

Features

  • Highly Modular: Each component is independent and purely visual.
  • CMS Ready: Designed to work with Storyblok, Contentful, or custom JSON backends.
  • Tailwind Integrated: Uses Tailwind CSS for modern, responsive designs.