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

vue-glassmorphism-component

v1.1.17

Published

A Vue 3 component that creates a macOS Docker-like glassmorphism effect with hover animations

Readme

vue-glassmorphism-component

A Vue 3 component that creates a macOS Docker-like glassmorphism effect with hover animations.

Installation

npm install vue-glassmorphism-component

# or

yarn add vue-glassmorphism-component

# or

pnpm add vue-glassmorphism-component

Usage

Basic Usage

<template>
  <Glassmorphism color="white">
    <!-- Your items here -->
    <div class="item">Item 1</div>
    <div class="item">Item 2</div>
    <div class="item">Item 3</div>
  </Glassmorphism>
</template>

<script setup>
import Glassmorphism from 'vue-glassmorphism-component';
</script>

<style>
.item {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
</style>

With Custom Options

<template>
  <Glassmorphism
    color="blue"
    range="250"
    maxScale="1.8"
  >
    <!-- Your items here -->
    <div class="item">Item 1</div>
    <div class="item">Item 2</div>
    <div class="item">Item 3</div>
  </Glassmorphism>
</template>

Props

| Prop Name | Type | Default | Description | | --------- | ---- | ------- | ----------- | | color | String | 'white' | The base color for the glassmorphism effect | | range | Number | 200 | The range (in pixels) within which the hover effect is active | | maxScale | Number | 1.5 | The maximum scale factor for the hovered items | | opacity | Number | 0.1 | The opacity of the glassmorphism background | | blur | Number | 10 | The blur radius (in pixels) for the glassmorphism effect | | itemSide | Number | 60 | The size of each item (in pixels) |

Browser Compatibility

This component works in all modern browsers that support:

  • CSS Grid
  • CSS Variables
  • CSS backdrop-filter (for glassmorphism effect)

Development

Project Setup

pnpm install

Compile and Hot-Reload for Development

pnpm dev

Type-Check, Compile and Minify for Production

pnpm build

Lint with ESLint

pnpm lint

License

MIT