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

@kotaio/ui

v0.1.0

Published

Kota's design system: React components built on Radix UI and Tailwind CSS v4

Readme

@kotaio/ui

Kota's design system: a collection of reusable React components built on Radix UI primitives and Tailwind CSS v4, following best practices for accessibility and performance.

Installation

npm install @kotaio/ui
# or
pnpm add @kotaio/ui

Peer requirements:

  • react >= 19
  • react-dom >= 19
  • tailwindcss >= 4

Setup

Import the design system stylesheet in your app's global CSS file (the one processed by Tailwind):

@import '@kotaio/ui/globals.css';

That single import brings in Tailwind itself, the Kota theme (colors, typography, radii, animations), the Inter and Faktum Neue fonts, and registers the component files with Tailwind so all required utility classes are generated.

If your app defines its own Tailwind theme, make sure this import comes first so you can override tokens afterwards.

Usage

import { Button, Card, CardContent, Dialog, Icon } from '@kotaio/ui';

export function Example() {
  return (
    <Card>
      <CardContent>
        <Button>
          <Icon name="check" size="sm" />
          Save changes
        </Button>
      </CardContent>
    </Card>
  );
}

The cn class-merging helper (clsx + tailwind-merge) is available from @kotaio/ui/lib/utils:

import { cn } from '@kotaio/ui/lib/utils';

Development (inside the Kota monorepo)

Structure

  • src/components/ui contains mostly components from shadcn/ui
  • src/components - contains internal components fully built by Kota

Building

cd pkgs/ui
pnpm build # compiles to dist/ (ESM + type declarations + assets)

Storybook

cd pkgs/ui
pnpm storybook

Adding New SVG Icons

To add new SVG icons to the component library, use the convenient add-icon script:

Important: Make sure you are in the pkgs/ui directory before running the command.

cd pkgs/ui
pnpm add-icon icon-name-1 [icon-name-2] [icon-name-3] ...

Examples

# Add a single icon
pnpm add-icon pencil-simple-line-bold

# Add multiple icons at once
pnpm add-icon user-circle-plus envelope-simple check-circle

This script will:

  • Download the specified icon(s) from the phosphor-icons collection
  • Add them to the ./svgs directory
  • Overwrite any existing files with the same name
  • Automatically confirm the operation without prompting
  • Provide clear feedback on success/failure for each icon

Manual Method (Alternative)

If you prefer to use the Sly CLI directly:

cd pkgs/ui
pnpm dlx @sly-cli/sly add iconify:ph icon-name --overwrite --yes --directory ./svgs/

Releasing

Releases are automated with Changesets. When your change should be published, add a changeset alongside it:

pnpm changeset

Merging to main opens (or updates) a "Version Packages" PR; merging that PR publishes to npm.

License

Apache-2.0