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 🙏

© 2025 – Pkg Stats / Ryan Hefner

wing-ui-components

v1.0.12

Published

A beautiful and reusable Vue 3 component library

Readme

Wing UI

A beautiful and reusable Vue 3 component library

npm version License: MIT

✨ Features

  • 🎨 Beautiful Design - Modern and clean UI components
  • 🔧 TypeScript Support - Full TypeScript type definitions
  • 📦 Tree Shakable - Only import what you need
  • 🎯 Customizable - Easy to customize with CSS variables
  • 🚀 Vue 3 - Built for Vue 3 with Composition API
  • 📱 Responsive - Mobile-first responsive design
  • Accessible - ARIA compliant components

📦 Installation

# npm
npm install @wing-ui/components

# pnpm
pnpm add @wing-ui/components

# yarn
yarn add @wing-ui/components

🚀 Quick Start

1. Import Styles

In your main.ts or main.js:

import { createApp } from 'vue'
import App from './App.vue'

// Import Wing UI styles
import '@wing-ui/components/dist/style.css'

createApp(App).mount('#app')

2. Use Components

<script setup lang="ts">
import { Button, Badge, Modal, useToast } from '@wing-ui/components'
import { ref } from 'vue'

const showModal = ref(false)
const toast = useToast()

function handleClick() {
  toast.success('Button clicked!')
  showModal.value = true
}
</script>

<template>
  <div>
    <Button variant="primary" @click="handleClick">
      Click Me
      <Badge variant="success">New</Badge>
    </Button>

    <Modal
      :show="showModal"
      title="Hello Wing UI"
      @close="showModal = false"
    >
      <p>Welcome to Wing UI!</p>
    </Modal>

    <ToastContainer />
  </div>
</template>

📚 Components

Basic Components (7)

  • Button - Versatile button component with 9 variants and 4 sizes
  • Badge - Small status indicators with 6 variants
  • Card - Container component with 4 variants
  • Input - Text input with validation states
  • Modal - Dialog component with 9 responsive sizes
  • Slider - Range slider with value display
  • Toast - Toast notifications with 4 types

Form Components (5)

  • Chip - Tag/chip component with closable option
  • Tooltip - Tooltip component with 4 positions
  • Switch - Toggle switch with 3 sizes
  • Checkbox - Checkbox with indeterminate state
  • Radio - Radio button for single selection

Advanced Components (5) 🆕

  • Alert - Alert messages with 4 types and closable option
  • Dropdown - Dropdown menu with hover/click trigger
  • Progress - Progress bar with striped and animated options
  • Select - Select component with search and multi-select
  • Tabs - Tab component with 3 variants (line, card, pill)

Coming Soon

  • Popover
  • Pagination
  • Breadcrumb
  • Spinner
  • And more...

📖 Documentation

Button

<Button variant="primary" size="md" :loading="false">
  Click Me
</Button>

Props:

  • variant: 'primary' | 'secondary' | 'outline' | 'ghost' | 'danger' | 'success' | 'warning' | 'info' | 'link'
  • size: 'xs' | 'sm' | 'md' | 'lg'
  • loading: boolean
  • disabled: boolean
  • fullWidth: boolean

Badge

<Badge variant="success" size="md">
  New
</Badge>

Props:

  • variant: 'default' | 'primary' | 'success' | 'warning' | 'error' | 'info'
  • size: 'xs' | 'sm' | 'md' | 'lg'
  • dot: boolean

Modal

<Modal
  :show="showModal"
  title="Modal Title"
  size="md"
  @close="showModal = false"
  @confirm="handleConfirm"
>
  Modal content
</Modal>

Props:

  • show: boolean (required)
  • title: string
  • size: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | 'full' | 'full-width'
  • hideHeader: boolean
  • hideFooter: boolean
  • closeOnClickOutside: boolean

Toast

<script setup>
import { useToast, ToastContainer } from '@wing-ui/components'

const toast = useToast()

function showNotification() {
  toast.success('Operation successful!')
  toast.error('Something went wrong!')
  toast.warning('Please check your input!')
  toast.info('This is an information message')
}
</script>

<template>
  <Button @click="showNotification">Show Toast</Button>
  <ToastContainer />
</template>

🎨 Customization

Wing UI uses CSS variables for easy customization. You can override these in your own CSS:

:root {
  --color-primary: #4338ca;
  --color-success: #22c55e;
  --color-error: #ef4444;
  --color-warning: #eab308;
  --color-info: #06b6d4;
  
  --radius-sm: 0.5rem;
  --radius-base: 0.75rem;
  --radius-lg: 1rem;
  
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
}

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

📄 License

MIT License © 2024

🔗 Links