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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@uprock/prism-ui

v1.25.0

Published

A modern, accessible, and customizable React component library built with Tailwind CSS by [Uprock](https://uprock.com).

Downloads

786

Readme

Prism Design System

A modern, accessible, and customizable React component library built with Tailwind CSS by Uprock.

Features

  • 🎨 Comprehensive Component Library: Button, Card, Input, Modal, Radio, Select, Sidebar, Switch, Table, Tabs, and more
  • 🎯 Accessibility First: Built with accessibility in mind using Radix UI primitives
  • 🎨 Themeable: Customizable colors and styles
  • 📦 TypeScript Support: Fully typed components
  • 🎨 Tailwind CSS: Built with Tailwind for consistent styling
  • 📚 Storybook Documentation: Interactive component documentation

Installation

npm install @uprock/prism-ui

Quick Start

  1. Import the styles in your app's entry point (e.g., App.tsx or main.tsx):
import '@uprock/prism-ui/style';
  1. Use the components in your app:
import { Button, Card, Input } from '@uprock/prism-ui';

function App() {
  return (
    <div>
      <Button>Click me</Button>
      <Card>
        <Card.Title>Welcome</Card.Title>
        <Card.Content>This is a card</Card.Content>
      </Card>
      <Input label="Enter text" />
    </div>
  );
}

Components

Basic Components

  • Avatar - User avatar component
  • Banner - Notification banner component
  • Breadcrumb - Navigation breadcrumb component
  • Button - Versatile button component with multiple variants
  • Card - Flexible card component for content display
  • Divider - Horizontal/vertical divider component
  • Input - Form input component with validation support
  • Loading - Loading spinner component
  • Modal - Dialog/modal component
  • Pagination - Pagination component
  • Progress - Progress bar component
  • Radio - Radio button component
  • Select - Dropdown select component
  • Sidebar - Navigation sidebar
  • Switch - Toggle switch component
  • Table - Data table component
  • Tabs - Tabbed interface component

Styling

Prism uses Tailwind CSS for styling. You can customize the theme by:

  1. Extending the Tailwind config:
// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        // Your custom colors
      },
    },
  },
}
  1. Importing the base styles:
import '@uprock/prism-ui/style';

Development

Setup

  1. Clone the repository
  2. Install dependencies:
npm install
  1. Start Storybook:
npm run storybook

Building Storybook

npm run build-storybook

Since this build don't change anything on the package behavior, should be committed using the flag chore or docs, so the publishing process is not triggered.

Publishing

The publishing process is automated using GitHub Actions.

To publish a new feature or a bugfix use conventional commits to trigger the workflow, feat/feature for new features and fix/bugfix for bug fixes.

After the workflow is triggered, it will build and publish the package to npm and automatically create a minor or patch release on GitHub Releases and use the commit messages as changelog, so it should be descriptive enough.

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

MIT © Uprock Prism