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

@helgadigitals/vera-ui

v1.3.1

Published

A modern, accessible React component library for vera

Readme

@helgadigitals/vera-ui

A modern, accessible React component library built with Radix UI primitives and styled with Tailwind CSS. Part of the Vera UI design system.

npm version License: MIT

⚡ Quick Start

npm install @helgadigitals/vera-ui

Basic Usage

import {
  Button,
  Card,
  CardContent,
  CardHeader,
  CardTitle,
} from "@helgadigitals/vera-ui";

function App() {
  return (
    <Card className="w-96">
      <CardHeader>
        <CardTitle>Welcome to Vera UI</CardTitle>
      </CardHeader>
      <CardContent>
        <Button>Get Started</Button>
      </CardContent>
    </Card>
  );
}

🎨 Tailwind CSS Setup

Vera UI is built with Tailwind CSS v4 and only supports Tailwind CSS v4

Tailwind v4 (Recommended)

/* In your main CSS file */
@import "tailwindcss";
@import "@helgadigitals/vera-ui/dist/vera-ui.css";

🧩 Components

Form Components

  • Button - Primary actions and interactions
  • Input - Text input with validation states
  • Textarea - Multi-line text input
  • Select - Dropdown selection
  • Checkbox - Binary selection input
  • RadioGroup - Single selection from options
  • Switch - Toggle control
  • Label - Form field labels
  • Form - Form management with validation

Data Display

Navigation

Overlays

Feedback

Utilities

✨ Features

  • 🎯 Accessible - Built with Radix UI primitives for excellent accessibility
  • 🎨 Customizable - Easy to customize with CSS variables and Tailwind classes
  • 🌙 Dark Mode - Built-in support for light and dark themes
  • 📱 Responsive - Mobile-first design approach
  • 🔧 Developer Friendly - Full TypeScript support with excellent IntelliSense
  • 🚀 Modern - Uses latest React patterns and best practices
  • 🎭 Tailwind Flexible - Compatible Tailwind CSS v4
  • 🧩 Composable - Build complex UIs with simple, reusable components
  • Performant - Optimized for production with tree-shaking support

🛠 Development

Architecture

This component library follows these key patterns:

  • Radix UI Foundation: All components extend Radix UI primitives for accessibility
  • CVA Styling: Uses class-variance-authority for variant-based styling
  • Utility-First CSS: Built with Tailwind CSS for rapid customization
  • TypeScript: Full type safety with comprehensive prop interfaces

Key Components

The Button component serves as the canonical example of our architecture:

import { cva, type VariantProps } from "class-variance-authority"
import { cn } from "@/lib/utils"

const buttonVariants = cva(
  "inline-flex items-center justify-center rounded-md text-sm font-medium",
  {
    variants: {
      variant: {
        default: "bg-primary text-primary-foreground hover:bg-primary/90",
        secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
      },
      size: {
        default: "h-10 px-4 py-2",
        sm: "h-9 rounded-md px-3",
        lg: "h-11 rounded-md px-8",
      },
    },
    defaultVariants: {
      variant: "default",
      size: "default",
    },
  }
)

Utilities

  • cn() - Combines clsx and tailwind-merge for conditional classes
  • Theme Context - React Context for theme management

🎨 Theming

Vera UI uses CSS variables for theming, making it easy to customize:

:root {
  --primary: 221.2 83.2% 53.3%;
  --primary-foreground: 210 40% 98%;
  --background: 0 0% 100%;
  --foreground: 224 71.4% 4.1%;
  --muted: 220 14.3% 95.9%;
  --muted-foreground: 220 8.9% 46.1%;
  /* ... */
}

.dark {
  --background: 224 71.4% 4.1%;
  --foreground: 210 40% 98%;
  /* ... */
}

📚 Documentation

🔧 TypeScript Support

All components are fully typed with TypeScript:

import type { ButtonProps } from "@helgadigitals/vera-ui"

interface CustomButtonProps extends ButtonProps {
  loading?: boolean;
}

const CustomButton: React.FC<CustomButtonProps> = ({ 
  loading, 
  children, 
  disabled,
  ...props 
}) => {
  return (
    <Button disabled={disabled || loading} {...props}>
      {loading ? "Loading..." : children}
    </Button>
  );
};

🤝 Contributing

We welcome contributions! Please see our Contributing Guide for details.

Development Setup

# Clone the repository
git clone https://github.com/helgadigitals-limited-company/vera-ui.git
cd vera-ui

# Install dependencies
pnpm install

# Start development
pnpm dev:ui

📦 Build Information

  • Bundle: ESM and CJS builds
  • Styles: Separate CSS file for both Tailwind v3 and v4
  • Types: Full TypeScript definitions included
  • Tree Shaking: All components are tree-shakeable

🔗 Links

📄 License

MIT © HelgaDigitals


Built with ❤️ by the Vera UI team