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

@taroify/core

v0.6.2-alpha.0

Published

<p align="center"> <img alt="logo" src="https://img.yzcdn.cn/vant/logo.png" width="120" style="margin-bottom: 10px;"> </p> <h3 align="center">轻量、可靠的小程序端 Taro React UI 组件库</h3>

Downloads

1,218

Readme

介绍

Taroify 是移动端组件库 Vant 的 Taro React 版本,两者基于相同的视觉规范,提供近似一致的 API 接口,助力开发者快速搭建小程序应用。

✨ 特性

  • 🚀 性能极佳,组件平均体积小于 1KB(min+gzip)
  • 💎 70+ 个高质量组件,覆盖移动端主流场景
  • 💪 使用 TypeScript 编写,提供完整的类型定义
  • 💪 单元测试覆盖率超过 90%,提供稳定性保障
  • 📖 提供完善的中文文档和组件示例
  • 🍭 支持 React
  • 🍭 支持主题定制,内置 700+ 个主题变量
  • 🍭 支持按需引入和 Tree Shaking

浏览器支持

支持现代浏览器以及 Chrome >= 51、iOS >= 10.0。

安装

在现有项目中使用 Taroify 时,可以通过 npm 进行安装

npm i @taroify/core

当然,你也可以通过 yarnpnpm 进行安装

yarn add @taroify/core

pnpm add @taroify/core

快速上手

import { Button } from "@taroify/core"
import "@taroify/core/button/style"

function Index() {
  return <Button color="primary">按钮</Button>
}

更多使用方式,请参考快速上手

贡献代码

修改代码请阅读我们的开发指南

使用过程中发现任何问题都可以提 Issue 给我们,当然,我们也非常欢迎你给我们发 PR

微信交流群

贡献者

Vant 官方生态

由 Vant 官方团队维护的项目如下:

| 项目 | 描述 | | ------------------------------------------------------------------------------------------- | -------------------------- | | vant | Vant Vue 版 | | vant-weapp | Vant 微信小程序版 | | vant-demo | Vant 官方示例合集 | | vant-cli | 开箱即用的组件库搭建工具 | | vant-icons | Vant 图标库 | | vant-touch-emulator | 在桌面端使用 Vant 的辅助库 |

社区生态

由社区维护的项目如下,欢迎补充:

| 项目 | 描述 | | --------------------------------------------------------- | --------------------------------------- | | 3lang3/react-vant | 参照 Vant 打造的 React 移动端组件库 | | rc-ui-lib | 参照 Vant 打造的 React 框架移动端组件库 | | taroify | Vant Taro React 版 | | vant-theme | Vant 在线主题预览工具 |

支持者

@Yorksh1re @akazwz @Yang @coderYarn @蔡包 @王昆

鸣谢

Vant - 感谢 Vant 团队多年来的不断维护,让 Taroify 能够站在巨人的肩膀上。

WebStorm - 感谢 JetBrains 团队提供的集成开发环境,使得 Taroify 可以快速开发。

开源协议

本项目基于 MIT 协议,请自由地享受和参与开源。

友情推荐

| 项目 | 描述 | | -------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | | mockm | 一款优雅解决前端开发过程中各种接口问题的 nodejs 工具 | | taro-hooks | 为 Taro 而设计的 Hooks Library | | tarojs-router-next | Taro 小程序路由库 / 自动生成带参数类型提示的路由方法 / 允许传递任意类型、任意大小的参数数据 / 同步的路由方法调用 / koa 体验一致的路由中间件 |