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

@tejas-bhatt15/ui

v0.1.1

Published

A modern, type-safe UI component library built on top of [shadcn/ui](https://ui.shadcn.com/), React, and Tailwind CSS.

Readme

@tejas-bhatt/ui

A modern, type-safe UI component library built on top of shadcn/ui, React, and Tailwind CSS.

Features

  • 🎨 Beautiful Components - Pre-styled components following modern design principles
  • 🔧 Fully Customizable - Built with Tailwind CSS for easy customization
  • 📝 TypeScript First - Full TypeScript support with proper type definitions
  • 🎯 Accessible - Built on Radix UI primitives for accessibility
  • 🎪 Variant System - Consistent API using class-variance-authority
  • 🌙 Dark Mode Ready - Built-in dark mode support

Installation

npm install @tejas-bhatt/ui
# or
yarn add @tejas-bhatt/ui
# or
pnpm add @tejas-bhatt/ui

Setup

Import the CSS file in your app root:

import '@tejas-bhatt/ui/styles.css'

Make sure your project has the required peer dependencies:

  • React 18+
  • Tailwind CSS 4+

Usage

import { Button, Card, CardHeader, CardTitle, CardContent } from '@tejas-bhatt/ui'

export function MyComponent() {
  return (
    <Card>
      <CardHeader>
        <CardTitle>Hello World</CardTitle>
      </CardHeader>
      <CardContent>
        <Button>Click me</Button>
      </CardContent>
    </Card>
  )
}

Components

Button

Versatile button component with multiple variants and sizes.

<Button variant="default">Default</Button>
<Button variant="secondary">Secondary</Button>
<Button variant="outline">Outline</Button>
<Button variant="ghost">Ghost</Button>
<Button variant="destructive">Destructive</Button>

<Button size="sm">Small</Button>
<Button size="default">Default</Button>
<Button size="lg">Large</Button>
<Button size="icon">Icon</Button>

Card

Container component with header, content, and footer sections.

<Card>
  <CardHeader>
    <CardTitle>Card Title</CardTitle>
    <CardDescription>Card description</CardDescription>
  </CardHeader>
  <CardContent>
    Card content goes here
  </CardContent>
  <CardFooter>
    Card footer content
  </CardFooter>
</Card>

Input

Form input component with consistent styling.

<Input type="email" placeholder="Enter email" />
<Input type="password" placeholder="Password" />
<Input disabled placeholder="Disabled input" />

Label

Accessible label component for form controls.

<Label htmlFor="email">Email Address</Label>
<Input id="email" type="email" />

Badge

Small status indicators and tags.

<Badge>Default</Badge>
<Badge variant="secondary">Secondary</Badge>
<Badge variant="outline">Outline</Badge>
<Badge variant="destructive">Error</Badge>

Utilities

cn()

A utility function for conditionally joining classNames. It combines clsx and tailwind-merge for optimal Tailwind CSS class handling.

import { cn } from '@tejas-bhatt/ui'

const className = cn(
  'base-classes',
  condition && 'conditional-classes',
  'more-classes'
)

Development

This library is built with:

  • React - UI library
  • TypeScript - Type safety
  • Tailwind CSS - Styling
  • Radix UI - Accessible primitives
  • class-variance-authority - Variant management
  • tsup - Build tool

License

MIT