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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@xniffing/vue-peaceui

v1.1.1

Published

A Vue 3 UI component library for building web applications

Downloads

2,455

Readme

PeaceUI - Vue 3 Web Components Library

A modern, lightweight Vue 3 UI component library for building web applications. PeaceUI provides customizable web components that can be used in any web application, regardless of the framework.

Features

  • 🎨 Modern Design - Clean and professional components
  • 🔌 Framework Agnostic - Works with any framework or vanilla JavaScript
  • 📱 Responsive - Mobile-first design principles
  • 🎯 TypeScript Support - Built with TypeScript for better developer experience
  • 🚀 Tree-shakeable - Only import what you need
  • 🎪 Tailwind CSS - Styled with Tailwind CSS for easy customization

Components

PeaceUI includes the following components:

Cards

A flexible card component that supports:

  • Image slot for visual content
  • Title slot for headings
  • Description slot for main content
  • Categories slot for metadata
  • Responsive layout (stack on mobile, side-by-side on desktop)
  • Tailwind CSS styling with rounded corners and proper spacing
  • Background color control
  • Custom HTML support via data-advancedhtml prop

Content

A simple container component with:

  • Centered content using mx-auto
  • Full-width container class
  • Custom HTML support via data-advancedhtml prop
  • Scoped styling with imported style.css

Footer

A customizable footer component featuring:

  • Gradient background (from #e6a91c50 to #9089fc50)
  • Flexible layout with responsive breakpoints
  • Multiple named slots for content organization
  • Disclaimer title and description slots
  • Responsive design (column on mobile, row on desktop)
  • Maximum width control with screen-xl
  • Consistent text styling and spacing

HeroBannerSearch

A hero banner component with:

  • Image background with overlay support
  • Search functionality with dedicated slots
  • Centered content layout
  • 300px fixed height
  • Container queries for responsive behavior
  • Flexible slot system for search bar and button
  • TypeScript support
  • Custom styling with BEM methodology
  • Z-index management for proper layering

Technical Details

Dependencies

  • Vue 3.3.4+
  • TypeScript 5.5.4
  • Tailwind CSS 3.4.10
  • HeadlessUI/Vue 1.7.23
  • HeroIcons/Vue 2.1.5
  • Shoelace 2.17.1

Development Tools

  • Vite 4.4.5
  • Vue TSC 2.1.6
  • PostCSS 8.4.45
  • Autoprefixer 10.4.20