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

light-ui-program

v1.0.0

Published

## 下载 ``` npm install light-ui-program ```

Readme

light-ui-program

下载

npm install light-ui-program

使用

import UI from 'light-ui-program'
import 'light-ui-program/lib/light-ui-program.css'
Vue.use(UI)

组件

MyButton 按钮组件

  <my-button animated="vertical">
    <div slot="hidden">$10000</div>
    <div slot="visible">
      <i class="shop icon"></i>不要错过哈
    </div>
  </my-button>
  <my-button animated="fade">
    <div slot="hidden">$10000</div>
    <div slot="visible">
      <i class="shop icon"></i>不要错过哈
    </div>
  </my-button>
  <my-button>点个赞再走!</my-button>
  
  <my-button disabled size="mini">小按钮</my-button>
  
  <my-button icon="user" size="mini">小按钮</my-button>
  
  <my-button icon="shop" size="mini">购物车</my-button>
  
  <my-button loading size="huge">大按钮</my-button>
  
  <my-button size="massive">大按钮</my-button>
  
  <my-button @click="btnClick"  icon="wifi" size="massive">我可以点击哦!</my-button>
    

介绍

属性                属性                    是否必填              属性值

定义内容:           slot                     false                
大小:               size                     false            
图标:              icon                     false
禁用状态:           disabled                 false
加载状态:           loading                  false
动画状态:           animated                 false
事件:               click                    false

MySlider 轮播图组件

<div>
  <my-slider style="width:250px;height:350px;"
  :auto="2000"
  :curIdx="curIdx"
  :list="list"
  @click="hClick"
  ></my-slider>
</div>

Myheadline 标题组件

<div>
    <h1>测试my-headline组件</h1>
    <my-headline :level="1" icon="user" size="Huge">
      主标题
      <div slot="sub">
        副标题
      </div>
    </my-headline>
    <br>
    <my-headline :level="2" icon="settings" size="small">
      <div slot="sub">
        默认内容
      </div>
    </my-headline>
    <br>
  </div>

MyDivider 分隔条组件

<div>
    
    <my-divider>默认内容</my-divider>
    
    <my-divider icon="user">用户</my-divider>
    
    <my-divider icon="setting">设置</my-divider>

  </div>

MyDialog 对话框组件

<div>
  <button type="primary" @click="isShow = !isShow">切换显示</button>
  <my-dialog v-model="isShow">
  </my-dialog>
</div>