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

@anggiedimasta/ui

v4.0.0

Published

A modern, accessible Vue 3 UI component library with comprehensive documentation, testing, and design system built with Tailwind CSS

Readme

@anggiedimasta/ui

A modern Vue 3 component library with a cyberpunk design system, built with TypeScript, Tailwind CSS, and Vite.

✨ Features

  • Vue 3 Components: Built with Vue 3 Composition API and TypeScript
  • Cyberpunk Design: High-contrast neon color palette with dark/light themes
  • Tailwind CSS: Fully integrated with Tailwind CSS for styling
  • TypeScript: Complete TypeScript support with type definitions
  • Storybook: Interactive component documentation and testing
  • Vitest: Comprehensive unit testing
  • Accessible: WCAG compliant components with proper ARIA attributes

📦 Installation

npm install @anggiedimasta/ui

🚀 Quick Start

1. Install the package

npm install @anggiedimasta/ui

2. Import the styles

// In your main.ts or main.js
import '@anggiedimasta/ui/styles.css';

3. Use components

<template>
  <div>
    <Button variant="primary">Click me</Button>
    <Button variant="secondary">Secondary</Button>
  </div>
</template>

<script setup lang="ts">
import { Button } from '@anggiedimasta/ui';
</script>

🎨 Available Components

Button

A versatile button component with multiple variants and sizes.

<Button variant="primary" size="lg">
  Primary Button
</Button>

<Button variant="secondary" size="sm">
  Secondary Button
</Button>

<Button variant="destructive">
  Delete
</Button>

Props:

  • variant: 'primary' | 'secondary' | 'destructive' | 'ghost' | 'outline'
  • size: 'sm' | 'md' | 'lg'
  • disabled: boolean

🎯 Design System

Color Palette

  • Primary: Cyan neon (hsl(180 100% 50%))
  • Secondary: Magenta neon (hsl(280 100% 50%))
  • Accent: Green neon (hsl(120 100% 50%))
  • Destructive: Red (hsl(0 85% 60%))

Theme Support

The library supports both light and dark themes with automatic switching:

<html class="dark">
  <!-- Dark theme -->
</html>

<html>
  <!-- Light theme -->
</html>

🛠️ Development

Prerequisites

  • Node.js 18+
  • pnpm 8+

Setup

# Clone the repository
git clone https://github.com/anggiedimasta/ui.git
cd ui

# Install dependencies
pnpm install

# Start development server
pnpm dev

Available Scripts

  • pnpm dev: Start development server
  • pnpm build: Build all packages
  • pnpm test: Run tests
  • pnpm storybook: Start Storybook locally
  • pnpm lint: Run linting

📚 Storybook

View interactive component documentation locally:

pnpm storybook

Visit: http://localhost:6006

🧪 Testing

Run the test suite:

pnpm test

Run tests in watch mode:

pnpm test:watch

📦 Package Structure

packages/ui/
├── src/
│   ├── components/     # Vue components
│   ├── composables/    # Vue composables
│   ├── styles.css      # Main styles
│   └── index.ts        # Package exports
├── stories/            # Storybook stories
├── tests/              # Unit tests
└── README.md           # This file

🎨 Customization

CSS Custom Properties

All design tokens are exposed as CSS custom properties:

:root {
  --primary: hsl(180 100% 50%);
  --secondary: hsl(280 100% 50%);
  --accent: hsl(120 100% 50%);
  /* ... more tokens */
}

🤝 Contributing

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

Development Workflow

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests for new functionality
  5. Update documentation
  6. Submit a pull request

📄 License

MIT License - see the LICENSE file for details.

🔗 Links

🆘 Support

If you encounter any issues or have questions:

  1. Check the GitHub repository
  2. Search existing issues
  3. Create a new issue