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 🙏

© 2024 – Pkg Stats / Ryan Hefner

kai-ui

v1.2.4

Published

weapp ui components

Downloads

93

Readme

快速上手

使用之前

使用 kai-ui 前,务必要先阅读wepy自定义组件开发

预览小程序

如何使用

安装

方式一. 通过 npm 安装 (推荐)
# npm
npm i kai-ui -S --production
方式二. 下载代码

直接下载GitHub或者通过 git 命令下载并把minparogram文件夹拷贝到自己项目中

git clone https://github.com/Chaunjie/kai-ui.git

使用组件

以按钮组件为例,只需要在 json 文件中引入按钮对应的自定义组件即可

import Panel from 'kai-ui/Panel'

components = {
  'k-panel': Panel
}

接着就可以在 wxml 中直接使用组件

<k-panel>使用kai-ui组件库开始</k-panel>

在开发者工具中预览

# 拉取代码
git clone https://github.com/Chaunjie/kai-ui.git

# 安装项目依赖
npm install

# 执行组件编译
npm run dev

打开开发者工具,把dist目录添加进去就可以预览示例了。

贡献者

感谢下面这些小朋友的贡献

stardew wppeng

组件列表

  • [x] cell 列表
  • [x] button 按钮
  • [x] icon 图标
  • [x] popup 弹出层
  • [x] tag 标记
  • [x] tab 标签
  • [x] select 选择
  • [x] toptips 顶部提示
  • [x] toast 轻提示组件
  • [x] numberpicker 数字输入框
  • [x] switch 开关
  • [x] actionsheet 操作盘
  • [x] dialog 对话框
  • [x] uploader 上传
  • [x] grid 宫格
  • [x] loadmore 更多
  • [x] loading 加载中
  • [x] panel 面板
  • [x] layout 布局
  • [x] checkbox 复选框
  • [x] radio 单选框
  • [x] noticebar 通知栏
  • [x] searchbar 搜索框
  • [x] input 输入框
  • [x] step 步骤条
  • [x] slider 滑块
  • [x] rate 星级评分
  • [x] folder 折叠面板
  • [ ] calander 日期选择
  • [x] swipeout 滑动菜单
  • [ ] scrollviewrefresh 下拉刷新