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

mindlens-components

v0.0.18

Published

Custom component and plugins build for Vue 3

Readme

Vue 3 custom components

Custom component and plugins build for Vue 3

What's included ?

  1. Button
  2. Alert

How to install ?

  1. Start a new project
  2. Run 'npm intall mindlens-components' or 'yarn add mindlens-components' in terminal at root dir

How to use the plugins and components ?

  1. Open main.ts
  2. Insert code below to register the plugins and components
import mindlens from 'mindlens-components'
import 'mindlens-components/styles.css'

import App from './App.vue'

createApp(App)
.use(mindlens)
.mount('#app')
  1. To use the button, use component:
<ml-button variation="left-icon-text"/>
<ml-button variation="text-only"/>

<ml-button type="secondary" variation="right-icon-text"/>
<ml-button type="secondary" variation="icon-only"/>
  1. To use the alert, use MLAlert plugin. Need to inject the plugin into the component as below:
export default {
    inject: ['MLAlert'],
    data() {
      return {
        mlAlert: this.MLAlert
      }
    },
    methods: {
      showAlert(type: string, variation: string){
        this.mlAlert({
            header: 'This is header',
            type: type,
            variation: variation,
            content: 'This is a content. Content is a subject or ideas contained in something written, said...
            textButton1: "Btn 1",
            textButton2: "Btn 2"
        })
      },
    }
}

props

  1. Button component:

| Props | Description | Value | | ------------- | ----------------------------- | ----------------------------------------------------- | | variation | vVriation of the button | left-icon-text, right-icon-text, text-only, icon-only | | type | Button style type | primary, secondary | | type2 | Button criticality style type | info(default), warning, error, success | | text | Button text content | String value |

  1. Alert plugin

| Props | Description | Value | | ------------- | ----------------------------- | ----------------------------------------------------- | | variation | Variation of the alert | all, title-only, content-only, title-content | | type | Alert criticality style type | info, error, warning, success | | header | Alert header content | String value | | content | Alert description content | String value | | textButton1 | Button 1 text content | String value | | textButton2 | Button 2 text content | String value |

Example

For live example can go here