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

@tietokilta/ui

v0.0.0-alpha.6

Published

Reusable React UI components built with Tailwind CSS and shadcn/ui. Designed to drop into any React + Tailwind project.

Readme

@tietokilta/ui

Reusable React UI components built with Tailwind CSS and shadcn/ui. Designed to drop into any React + Tailwind project.

Install

# with pnpm
pnpm add @tietokilta/ui react react-dom

# Tailwind + PostCSS peers (dev)
pnpm add -D tailwindcss postcss @tailwindcss/postcss tailwindcss-animate @tailwindcss/typography

Required peer dependencies:

  • react, react-dom
  • tailwindcss, postcss, @tailwindcss/postcss
  • tailwindcss-animate, @tailwindcss/typography

Tailwind setup

Use the included preset for automatic configuration, or manually configure if you need more control.

Option 1: Using the preset (recommended)

// tailwind.config.js
import { preset } from "@tietokilta/ui/preset";

/** @type {import('tailwindcss').Config} */
export default {
  presets: [preset],
  content: ["./src/**/*.{ts,tsx,js,jsx}"],
  // Your customizations automatically extend the preset
};

Option 2: Manual configuration

// tailwind.config.js
import tietokiltaUI from "@tietokilta/ui";

/** @type {import('tailwindcss').Config} */
export default {
  content: [
    "./src/**/*.{ts,tsx,js,jsx}",
    "./node_modules/@tietokilta/ui/dist/**/*.{js,mjs}",
  ],
  plugins: [
    tietokiltaUI,
    require("@tailwindcss/typography"),
    require("tailwindcss-animate"),
  ],
};

Notes:

  • The preset automatically includes component paths and the custom plugin
  • The plugin adds utilities like content-alt and content-alt-empty
  • Design tokens: the package ships default CSS variables (colors, shadows, fonts) in its global stylesheet. You only need to define your own --color-* / --box-shadow-* variables if you want to customize the theme

Global CSS

Include Tailwind and the package styles in your global CSS file.

/* src/styles/globals.css */
@import "tailwindcss";

/* UI package global styles (includes default design tokens) */
@import "@tietokilta/ui/global.css";

/* Optional: override tokens to match your brand */
:root {
  /* Example: change primary color */
  /* --color-primary-500: #2563eb; */
}

Usage

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

export default function Example() {
  return (
    <div className="p-4">
      <Button variant="primary">Hello from UI</Button>
    </div>
  );
}

Components

| Component | Description | Key Props/Variants | | ------------------ | --------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Button | Versatile button with multiple style variants | variant: default, destructive, outline, secondary, ghost, link, backLink, outlineLinksize: default, sm, lgasChild: use with Slot for custom elements | | Card | Container component with consistent styling | asChild: render as child component | | Input | Form text input | Standard HTML input attributes | | Checkbox | Checkbox input | Standard HTML input attributes (without type) | | Radio | Radio button input | Standard HTML input attributes (without type) | | Textarea | Multi-line text input | Standard HTML textarea attributes | | Tabs | Tabbed interface components | Tabs, TabsList, TabsTrigger, TabsContent | | Sheet | Slide-out panel/drawer (based on Dialog) | side: top, bottom, left, rightComponents: Sheet, SheetTrigger, SheetContent, SheetHeader, SheetTitle, SheetDescription, SheetFooter, SheetClose | | Collapsible | Collapsible content container | Collapsible, CollapsibleTrigger, CollapsibleContent | | NavigationMenu | Accessible navigation menu | NavigationMenu, NavigationMenuList, NavigationMenuItem, NavigationMenuTrigger, NavigationMenuContent, NavigationMenuLink, NavigationMenuViewport, NavigationMenuIndicator | | ScrollArea | Custom scrollable area | ScrollArea, ScrollBar | | Separator | Visual divider | orientation: horizontal, vertical | | Progress | Progress indicator | value: 0-100 |

Icons

The package re-exports icons from Lucide React and Phosphor Icons:

import {
  ChevronDownIcon,
  MenuIcon,
  XIcon,
  FacebookIcon,
  GithubIcon,
  // ... and many more
} from "@tietokilta/ui";

See the full list in the TypeScript definitions.

Troubleshooting

  • Missing styles: ensure content includes your app code and node_modules/@tietokilta/ui/dist.
  • Unknown CSS variables: define the --color-* and --box-shadow-* tokens in global CSS.
  • Type errors: install @types/react/@types/react-dom if using TypeScript.