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

bilibili-ui

v0.2.1

Published

新增 - 进度条,卡片等组件 # 0.0.8版本 - 修复: - svg图标无法更改颜色的bug - 具体原因: - 处于生产环境时svg需要通过fill属性更改颜色

Readme

0.1.1版本

新增

  • 进度条,卡片等组件

0.0.8版本

  • 修复:
    • svg图标无法更改颜色的bug
  • 具体原因:
    • 处于生产环境时svg需要通过fill属性更改颜色

biliui

基于Vue3.0 + TypeScript 的一款UI组件库

官方文档

http://ui.lhikari.com

介绍

BILI UI 是一款基于 Vue 3 和 TypeScript 编写的 UI 组件库。 采取了哔哩哔哩的风格,将会按其颜色、logo 或者布局来展示样式 不管是 vue3.0 还是 vue2.x 的新版本都能正常使用此组件库

注意:

  • 这是为了熟悉 Vue 3.0 新特性而写的一个娱乐性组件库
  • 所以不建议将此 UI 库用于生产环境。

源代码放在了 https://github.com/supercll/biliui

历史提交信息符合开发规范,可以按提交的顺序逐个查看

可以直接查看每个组件的源代码和示例,运行方法见 README.md。

安装

执行下列命令:

npm install bilibili-ui

yarn add bilibili-ui

开始使用

请先安装本组件库。

然后在你的代码中写入下面的代码

import "bilibili-ui/dist/lib/bili.css";
import {Button, Tabs, Tab, Switch, Dialog, openDialog} from "bilibili-ui"

就可以使用我提供的组件了。

Vue 单文件组件

代码示例:

<template>
  <div>
    <Button>按钮</Button>
  </div>
</template>
<script>
import {Button, Tabs, Switch, Dialog} from "bilibili-ui"
export default {
  components: {Button}
}
</script>

注意

copy 示例代码时,应该将

import { Button } from "../lib/index";

替换为

import { Button } from "bilibili-ui";

vue2.x测试

vue2.x

<template>
    <Button @click="open">hi</Button>
    <Switch type="tv" v-model:value="isOpen"></Switch>
    <Tabs v-model:selected="tabSelected">
        <Tab title="tab1">内容1</Tab>
        <Tab title="tab2">内容2</Tab>
    </Tabs>
    <hr />
</template>

<script>
import "bilibili-ui/dist/lib/bili.css";
import { Button, Switch, Tabs, Tab, Dialog, openDialog } from "bilibili-ui";
import { ref } from "vue";

export default {
    name: "App",
    data() {
        return {
            isOpen: false,
            tabSelected: "tab1",
            bool: false,
        };
    },
    methods: {
        open() {
            openDialog({ title: "标题", content: "内容" });
        },
    },
    components: {
        Button,
        Switch,
        Tabs,
        Tab,
        Dialog,
    },
};
</script>