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

bear-ui-demo

v1.0.1

Published

这是一个UI框架

Readme

bear 一个UI组件

npm Build Status

介绍

这是我在学习 Vue 过程中做的一个 UI 框架,希望对你有用。

安装

开始使用

  1. 添加CSS样式

    安装 使用本框架前,请在 CSS 中开启 border-box

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

    IE 8 及以上浏览器都支持此样式。

    你还需要设置默认颜色等变量(后续会改为 SCSS 变量)

    html {
              --button-height: 32px;
              --font-size: 14px;
              --button-bg: #ffff;
              --button-active-bg: #eee;
              --border-radius: 4px;
              --color: #333;
              --border-color: #999;
              --border-color-hover: #666;
          }

    IE 15 及以上浏览器都支持此样式。

  2. 安装 gulu

    npm i --save bear-ui-demo
  3. 引入 gulu

    import {Button, ButtonGroup, Icon} from 'frank-test-1-1'
    import 'frank-test-1-1/dist/index.css'
    export default {
        name: 'app',
        components: {
        'g-button': Button,
        'g-icon': Icon
        }
    }

文档

提问

变更记录

  • 0.0.1版本 :没有转译 --no-minify 样式不见了

    button轮子 icon轮子 button-group轮子

  • 0.0.2版本 :dist/css发布

    button轮子 icon轮子 button-group轮子

  • 0.0.3版本 :用户不在需要依靠引入轮子的 iconfount

    button轮子 icon轮子 button-group轮子

  • 0.0.4版本 :增加input轮子 各种输入框

  • 0.0.5版本 :增加 grid轮子 实现栅格

  • 0.0.5版本 :增加 layout轮子 实现布局

  • 0.0.6版本 :增加 tabs轮子 实现tab切换

  • 0.0.7版本 :增加 toast轮子 弹出提示框

  • 0.0.8版本 :增加 popover轮子 按钮弹出层

  • 1.0.0版本 :整合测试各轮子的使用,发布上线!

联系方式

邮箱:[email protected]

贡献代码

Kai