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

vue-listshow

v0.1.0

Published

vue-listshow is a Vue component to create a and display you lists in a beautiful sliding cards.

Downloads

38

Readme

vue-listshow

vue-listshow is a Vue component to create a and display your lists in a beautiful sliding cards.

It's mainly inspired from the electronjs releases cards

alt text

Installation

Via YARN

yarn add vue-listshow

Via NPM

npm i vue-listshow

Then register it inside your component

import VueListshow from 'vue-listshow'
...
components: {
    ...
    VueListshow,
}

Usage

Now, what you have to do is to pass your array of objects as an items prop

and then you'll receive back each object as an item property

<vue-listshow :items="arrayList">
    <template slot-scope="{ item }">
        ...
    </template>
</vue-listshow>

You may refer to the VueJs#scoped-slot docs for more information about how to use scoped slots

Note

By default no styles attached to the cards generated, so you should pass your own style through your classes prop

<vue-listshow :items="arrayList" :classes="m-2 w-full bg-black text-grey-light rounded-lg">
    ...
</vue-listshow>

Available props:

| Prop | Type | Default | Required | | -------------- | -------- | ------- | -------- | | items | Array | --- | true | | classes | String | --- | false | | transition | Number | 300ms | false | | opacity | Number | 0.7 | false |

Example of usuage

<vue-listshow
    :items="items"
    classes="m-2 w-full bg-black text-grey-light rounded-lg"
    :transition="400"
    :opacity=".8"
>
...
</vue-listshow>

Issues and Contribution

If you find any bug or problem please open an issue or create a pull request, Thanks!.

Licence

The MIT License (MIT). Please see License File for more information.