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

@jgoldfoot/conviva-ui

v0.1.0

Published

Conviva-branded UI component library based on shadcn/ui

Readme

@conviva/ui

Conviva-branded UI component library based on shadcn/ui with custom Conviva theming and analytics components.

Features

  • 🎨 Conviva Branding: All components styled with Conviva's brand colors (#73A600 green)
  • Accessible: WCAG AA compliant with colorblind-friendly semantic colors
  • 🎯 Type-safe: Full TypeScript support
  • 📦 Tree-shakeable: Import only what you need
  • 🔧 Customizable: Built with Tailwind CSS and Radix UI primitives
  • 🚀 bolt.new Compatible: Registry support for easy integration

Installation

npm install @conviva/ui

Peer Dependencies

npm install react react-dom tailwindcss

Setup

1. Configure Tailwind CSS

Add the package to your tailwind.config.js:

module.exports = {
  content: [
    "./src/**/*.{ts,tsx}",
    "./node_modules/@conviva/ui/dist/**/*.js"
  ],
  theme: {
    extend: {},
  },
  plugins: [],
}

2. Import Global Styles

Import the Conviva design tokens in your main CSS file or app entry point:

import "@conviva/ui/dist/styles/globals.css";

Or copy the CSS variables from src/styles/globals.css to your own global CSS file.

Components

Button

Conviva-branded button with multiple variants:

import { Button } from "@conviva/ui";

<Button>Primary (Conviva Green)</Button>
<Button variant="secondary">Secondary</Button>
<Button variant="success">Success</Button>
<Button variant="warning">Warning</Button>
<Button variant="destructive">Destructive</Button>
<Button variant="outline">Outline</Button>
<Button variant="ghost">Ghost</Button>
<Button variant="link">Link</Button>

Card

Layout component for content containers:

import { Card, CardHeader, CardTitle, CardDescription, CardContent, CardFooter } from "@conviva/ui";

<Card>
  <CardHeader>
    <CardTitle>Title</CardTitle>
    <CardDescription>Description</CardDescription>
  </CardHeader>
  <CardContent>
    Content goes here
  </CardContent>
  <CardFooter>
    Footer content
  </CardFooter>
</Card>

Input

Form input with Conviva styling:

import { Input } from "@conviva/ui";

<Input type="email" placeholder="Email" />

Design Tokens

Primary Colors

  • Primary (Conviva Green): #73A600 - Brand-compliant green
  • Secondary: Modern sophisticated blue
  • Success: #059669 - Cool green (distinct from primary)
  • Warning: #D97706 - Orange (better contrast than yellow)
  • Destructive: #DC2626 - Red with good contrast

Utility Classes

// Conviva branding
<div className="conviva-primary">Conviva primary background</div>
<div className="conviva-brand">Conviva brand background</div>
<div className="conviva-modern-blue">Modern blue background</div>

// Accessibility-friendly status indicators
<div className="status-success">Success status</div>
<div className="status-warning">Warning status</div>
<div className="status-error">Error status</div>

Development

# Install dependencies
npm install

# Build the library
npm run build

# Watch mode
npm run dev

# Type checking
npm run typecheck

bolt.new Integration

This package supports bolt.new registry integration. Components can be added to your bolt.new project using the registry files in the registry/ directory.

License

MIT

Contributing

Contributions are welcome! Please ensure all components maintain:

  • Conviva brand consistency
  • WCAG AA accessibility standards
  • TypeScript type safety
  • Consistent API with shadcn/ui