npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@sankhyatronics/sankhya-ui

v0.0.15

Published

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

Readme

@sankhyatronics/SankhyaUI

npm version

The core UI library for the SankhyaUI system. Build dynamic, JSON-driven portals with ease.
Pure view React components (React 19) designed for seamless integration with headless CMS platforms.

Explore the Docs & Storybook »

Sample App »

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.
  • Dynamic Rendering: Includes a DynamicRenderer to map JSON data directly to React components.

Installation

Using pnpm (recommended):

pnpm add @sankhyatronics/sankhya-ui

Using npm:

npm install @sankhyatronics/sankhya-ui

Using yarn:

yarn add @sankhyatronics/sankhya-ui

Quick Start

1. Import Styles

Import the CSS file at the root of your application (e.g., main.tsx or App.tsx):

import '@sankhyatronics/sankhya-ui/styles';

2. Using DynamicRenderer

The DynamicRenderer is the heart of SankhyaUI for CMS-driven pages. It iterates over a list of content blocks and renders the appropriate component.

import { DynamicRenderer } from '@sankhyatronics/sankhya-ui';

// Example data usually fetched from a CMS API
const pageData = [
  {
    type: "Hero", // Matches the component name
    data: {
      Title: "Hello World",
      SubTitle: "Welcome to my portal"
    }
  },
  {
    type: "Stats",
    data: {
      items: [
        { label: "Users", value: "10k+" },
        { label: "Revenue", value: "$5M" }
      ]
    }
  }
];

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

3. Using Individual Components

You can also import and use components individually:

import { Hero, Card } from '@sankhyatronics/sankhya-ui';

function LandingPage() {
  return (
    <>
      <Hero data={{ Title: "My Landing Page", SubTitle: "Built with SankhyaUI" }} />
      <Card title="Feature 1" description="Amazing feature" />
    </>
  );
}

Available Components

Layout & Structure

  • BentoGrid: A flexible grid layout for displaying varied content.
  • Card: Standard card component for items.
  • ContentBlock: Generic content container.
  • FeatureSplit: Left/right split content for features.
  • FeaturesSection: A full section to showcase multiple features.
  • FeatureItem: Individual item within a features section.
  • ItemsAccordion: Accordion-style list for FAQs or details.

Navigation

  • Header: Main site header.
  • Footer: Site footer.
  • MenuGrid: Grid-based menu layout.
  • MenuGridItem: Individual item providing navigation within a grid.
  • MenuItem: Standard menu item.
  • Dropdown: Dropdown menu component.

Inputs & Actions

  • PromoBanner: Call-to-Action section to drive user engagement.
  • IconButton: Button with an icon.
  • Select: Dropdown selection input.

Branding & Marketing

  • Hero: Top-of-page hero section.
  • Carousel: A sliding carousel component for displaying multiple Hero items.
  • Stats: Section to display statistics or numbers.
  • Testimonials: Section for user feedback and reviews.

Development

To run the project locally for development:

pnpm dev

To build the library:

pnpm build

To run the linter:

pnpm lint

License

Distributed under the MIT License. See LICENSE for more information.