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

prismatik-ui

v2.1.0

Published

React modern components library

Readme

Prismatik UI

Modern React component library. Designed to be simple, accessible, and easy to extend.


Installation

Requirements:

  • React 18+
  • React DOM 18+

Install with npm:

npm install prismatik-ui

Import the compiled global styles:

import 'prismatik-ui/styles.css';

Quick Start

import { Button, Card, Input, Select, Modal, Tabs, Accordion, Navbar, Typography } from 'prismatik-ui';
import 'prismatik-ui/styles.css';

function App() {
  return (
    <Card title="Example" variant="light">
      <Typography variant="p">Content inside a card</Typography>
      <Button variant="dark" size="medium">Action</Button>
    </Card>
  );
}

Available variants (theme): light, dark, holographic, transparent-light, transparent-dark.


Main Components

  • Button: variants, sizes, and animations (pulse, shake, glow, wave).
  • Input and Select: sizes (small, medium, large) and state (default, error, warning).
  • Card and ProductCard: containers with title and content.
  • Modal: accessible, closes with Escape and click outside.
  • Tabs: ARIA roles, keyboard navigation (← → Home End).
  • Accordion: ARIA (aria-expanded, aria-controls) and regions.
  • Navbar: customizable actions on the right via actions prop.
  • Typography: semantic typography (h1h6, p, span).

All props accept className to extend styles.


Accessibility

  • Accordion: aria-expanded, aria-controls, role="region" and identifiable headings.
  • Tabs: role="tablist"/"tab"/"tabpanel", aria-selected, aria-controls, keyboard management.
  • Modal: role="dialog", aria-modal, aria-labelledby, closes with Escape and click outside.
  • Input/Select: aria-invalid when state="error".

Local Development

Clone, install, and build:

npm install
npm run build

Relevant structure:

  • src/components/: React components.
  • src/styles/: CSS Modules for each component.
  • src/types/css.d.ts: CSS Modules typing.

Scripts:

  • npm run build: generates dist/index.mjs, dist/index.cjs, dist/types/ and dist/styles.css.

Publishing to npm

Make sure you're logged in (npm login).

# update version according to semver
npm version patch

# publish
npm publish --access public

Packaging notes:

  • Dual package (ESM/CJS) with exports configured.
  • Types included (dist/types/index.d.ts).
  • Compiled styles in dist/styles.css (import in your app).

Conventions

  • TypeScript typed code, no confusing abbreviations.
  • Components with forwardRef where applicable.
  • Consistent API with variant, sizes, and className.
  • Focused on simplicity, readability, and maintainability.

License

MIT