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

yiui-forest

v0.0.7

Published

* 官网预览:[森林 UI](https://yichang8421.gitee.io/forest-ui/index.html)

Readme

森林 UI

森林 UI 是一款基于 Vue 3 和 TypeScript 的小型 UI 组件库。

这款组件库是我在学习 Vue 3 和 TypeScript 期间的成果。全程手写,包括 UI 组件、测试 Demo 以及响应式官网。

考虑到这是我个人学习期间的作品,还未经过广泛的用户测试,因此目前不建议用于生产环境。

但是这个库还是值得一看的,它涵盖了 UI 组件库应该如何组织代码的基本细节。官方文档可查看示例代码,并支持 PC 和手机浏览。

深入研究 Vue3,使用了 setup、onMounted、watchEffect、ref、computed 等 Composition API

源代码放在了 这里,提交历史信息非常规范,你可以按提交顺序逐个查看;也可以直接查看每个组件的源代码和示例。

当前支持的组件

  • [x] Button 按钮
  • [x] Input 输入框
  • [x] Dialog 弹出框
  • [x] Tabs 标签切换
  • [x] Switch 开关
  • [x] Layout 布局
  • [x] Pagination 布局
  • [x] ...

安装

打开终端运行下列命令:

npm i yiui-forest

或者

yarn add yiui-forest

开始使用

请先安装本组件库。

引入 UI 组件

import {Button, Tabs, Switch, Dialog, Input, Layout} from "yiui-forest";

Vue 单文件组件

代码示例:

<template>
  <div><Button>按钮</Button></div>
</template>
<script>
  import {Button, Tabs, Switch, Dialog, Input, Layout} from "yiui-forest";
  export default {
    components: {Button}
  }
</script>