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

@versaui/ui

v0.3.2

Published

Versa UI — A free, production-ready React component library with design tokens, theming, and accessible components.

Readme

A free, production-ready React component library with a built-in design token system, accessible components, and theming support.

React TypeScript Tailwind CSS License: MIT

Documentation · Components · Website


Design Token Driven

Colours, typography, spacing, corner radii, shadows, and effects are all controlled through CSS custom properties. Swap a few tokens and the entire system adapts - from buttons to modals to surfaces.

Accessible by Default

Components ship with full keyboard navigation, ARIA attributes, focus management, and screen reader support. Built on React Aria, accessibility is baked into every component from day one.

Copy-Paste Architecture

Versa UI follows a copy-paste model - you own every line of code. No black-box dependencies. Drop components into your project, customise freely, and maintain full control over your codebase.

Composable Components

35+ components built with composition in mind. Combine primitives like Material, Segment, and AccordionItem into complex patterns. Each component does one thing well and composes with everything else.

Light and Dark Mode

Every component supports both light and dark modes out of the box. Toggle between them by changing the data-mode attribute on your root element - all design tokens automatically adapt.

Minimal Dependencies

Built on React 19, Tailwind CSS 4, TypeScript 5, and Class Variance Authority. No heavy runtime dependencies - just the essentials for building fast, modern UIs.


| Category | Components | |---|---| | Actions | Button, Compact Icon Button, Link Button, Social Button, Button Group | | Data Entry | Text Input, Text Area, OTP Input, Search Bar, Checkbox, Radio, Toggle, Slider, Dropdown, File Upload, Image Upload | | Data Display | Avatar, Badge, Tag, Status Tag, Brand Icon, Country Flag, Logo, Tooltip, Divider, Progress Bar, Circular Progress Bar | | Feedback | Alert, Toast, Notification, Modal, Status Modal | | Navigation | Bar Tabs, Container Tabs, Breadcrumbs, Side Navigation, Top Navigation, Segmented Control, Pagination | | Layout | Material, Accordion |


Getting Started

Prerequisites

  • React 18.0+ (React 19 recommended)
  • Tailwind CSS 4.0+
  • A bundler like Vite, Next.js, or Webpack

Install Dependencies

npm install react react-dom tailwindcss clsx tailwind-merge class-variance-authority @phosphor-icons/react

Interaction and Accessibility

npm install @react-aria/focus @react-aria/interactions @react-aria/button @react-aria/progress @react-aria/utils react-aria-components

Dropdown Positioning

npm install @floating-ui/react

CSS Setup

Import the required styles in your main CSS file. Order matters:

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Manrope:[email protected]&display=swap');

/* Tailwind */
@import "tailwindcss";

/* Versa UI Design Tokens */
@import "./path-to/styles/primitives.css";
@import "./path-to/styles/base.css";

/* Theme */
@import "./path-to/styles/themes/core.css";

Theme Setup

Set the active theme using data attributes on your root element:

<html data-theme="core" data-mode="light">

Toggle dark mode by changing data-mode to "dark".

Use a Component

import { Button } from './components/Button/Button';
import { Tooltip } from './components/Tooltip/Tooltip';

function App() {
  return (
    <Tooltip content="Welcome to Versa UI!" placement="top">
      <Button variant="primary" size="default">
        Hover Me
      </Button>
    </Tooltip>
  );
}

Tech Stack

| Technology | Version | Purpose | |---|---|---| | React | v19 | UI framework | | TypeScript | v5 | Type safety | | Tailwind CSS | v4 | Utility-first styling | | Class Variance Authority | v0.7 | Component variants | | React Aria | Latest | Accessibility primitives | | Phosphor Icons | v2 | Icon system | | Floating UI | Latest | Dropdown positioning |


Project Structure

src/
├── assets/          # SVG icons, logos, flags, avatars
├── components/      # All UI components
├── generated/       # Auto-generated data (brand icons)
├── styles/
│   ├── primitives.css    # Primitive color tokens
│   ├── base.css          # Base tokens and Material styles
│   └── themes/
│       └── core.css      # Core theme (light + dark)
└── utils/
    └── cn.ts        # Class name merge utility

Links


License

This project is licensed under the MIT License.