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

@karve/ui

v2.0.1

Published

Modern UI component library with Tailwind CSS v4 and shadcn/ui

Readme

@karve/ui

Modern UI component library built with Tailwind CSS v4 and shadcn/ui.

Features

  • 🎨 Tailwind CSS v4 - CSS-first architecture with @theme directive
  • ⚡ Fast - 2-5x faster build performance vs Tailwind v3
  • 🧩 shadcn/ui Components - Accessible, customizable React components
  • 🎭 Class Variance Authority - Type-safe component variants
  • 🌗 Dark Mode - Built-in dark mode support
  • 📦 TypeScript - Full TypeScript support with type definitions

Installation

pnpm add @karve/ui
# or
npm install @karve/ui
# or
yarn add @karve/ui

Peer Dependencies

This package requires the following peer dependencies:

  • react ^18
  • react-dom ^18
  • tailwindcss ^4.0.0

Usage

Import Components

import { Button, Card, Input, Label } from '@karve/ui';

function App() {
  return (
    <Card>
      <Label htmlFor="email">Email</Label>
      <Input id="email" type="email" placeholder="[email protected]" />
      <Button>Submit</Button>
    </Card>
  );
}

Import Styles

Import the base styles in your application:

// In your main entry file (e.g., app.tsx or index.tsx)
import '@karve/ui/dist/styles.css';

Or use PostCSS to import in your CSS:

/* styles.css */
@import '@karve/ui/dist/styles.css';

Tailwind v4 Configuration

This package uses Tailwind CSS v4's CSS-first configuration. Your PostCSS config should include:

// postcss.config.mjs
export default {
  plugins: {
    "@tailwindcss/postcss": {},
  },
};

Available Components

  • Button - Customizable button with variants
  • Badge - Small status indicators
  • Card - Container with header, content, and footer
  • Input - Form input field
  • Label - Form label
  • Textarea - Multi-line text input
  • Select - Dropdown selector
  • Drawer - Slide-out panel (Vaul)
  • Tooltip - Hover tooltips
  • BackgroundBoxes - Animated background component

Component Variants

Components use Class Variance Authority for type-safe variants:

<Button variant="default" size="md">Default Button</Button>
<Button variant="destructive" size="lg">Delete</Button>
<Button variant="outline" size="sm">Cancel</Button>

Styling

All components are built with Tailwind CSS v4 and support:

  • Custom color schemes via CSS variables
  • Dark mode with .dark class
  • Responsive design with mobile-first approach
  • Accessible ARIA attributes

Development

# Install dependencies
pnpm install

# Build the package
pnpm build

# Watch mode for development
pnpm dev

License

MIT © Ramene Anthony

Links