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

lgm-ui

v0.2.0

Published

vue ui 工具

Readme

LGM-UI

Build Status npm GitHub

基于vue 2.x 开发的的UI组件库

logo.png

介绍

这是我为了巩固vue知识做的一个 UI 框架,希望对你有帮助.

本UI库含有以下14个组件:

  • icon 图标
  • button 按钮
  • input 输入框
  • select 选择框 (暂未实现)
  • switch 开关 (暂未实现)
  • radio 单选框 (暂未实现)
  • checkbox 多选框 (暂未实现)
  • pager 分页 (暂未实现)
  • layout 布局
  • grid 网格布局
  • toast 提示弹框
  • popover 气泡卡片
  • tabs 标签页
  • collapse 折叠面板

本UI库支持 IE10 及以上浏览器

文档

LgmUI Documentation

安装

$ yarn add lgm-ui

// or

$ npm install lgm-ui --save

引入项目

在main.js文件下添加如下配置:

import LgmUI from 'lgm-ui'
import 'lgm-ui/dist/index.css'

Vue.use(LgmUI)

new Vue({
  render: h => h(App)
}).$mount('#app');

使用方法

<lgm-button>默认<lgm-button>
<lgm-button type="success">成功<lgm-button>
<lgm-button type="danger" icon="i-loading" circle><lgm-button>

通过以上方式我们可以很容易地使用 LGM-UI 写出一个 Hello world 页面。 在线演示

注意

添加 CSS 样式:

本UI库所有组件的盒模型均使用border-box,使用本UI库请务必在 css 中开启border-box.

*, *::after, *::before{
    box-sizing: border-box;
}

LICENSE

MIT