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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@zebra-ui/swiper

v3.0.1

Published

专为多端设计的高性能swiper轮播组件库,支持多种复杂的 3D swiper轮播效果。

Downloads

585

Readme

介绍

zebra-swiper 是一款兼容多端的高性能轮播组件库,支持多种复杂的 3D 轮播效果。它不仅具备丰富的内置功能,还为开发者提供了极大的灵活性,以适应复杂场景的需求。

特性

  • 🧩 多端兼容:全面支持小程序、H5 和 App 平台,实现跨平台一致性。
  • 🧩 TypeScript支持:提供完整的TypeScript支持。
  • 🎨 创意自定义:通过 creative 特性,开发者可以定制具有独特表现力的轮播效果。
  • 流畅性能:即使在数据量巨大的情况下,利用virtual特性依然能够实现丝滑的滚动体验。
  • 🔧 扩展性强:通过监听特定事件,可以轻松集成和扩展自定义插件模块。
  • 🏗️ 模块化设计:功能独立分离,按需加载,确保最小化代码体积。

安装

详细安装方法,可参考文档

npm 方式

# npm
npm i @zebra-ui/swiper

# pnpm
pnpm add @zebra-ui/swiper

easycom方式引入:

// pages.json

{
  "easycom": {
    "autoscan": true,
    "custom": {
      "^z-(.*)": "@zebra-ui/swiper/components/z-$1/z-$1.vue"
    }
  },
 "pages": [...],
 "globalStyle": {...}
}

通过 uni_modules 安装

zebra-swiper已经在uniapp的插件市场发布。

如果使用的IDEHbuilderX,则可以通过uniapp的插件市场进行项目导入。

uniapp提供了uni_modules自动引入,使用此方法不需要再单独对组件进行引入。

详细安装及使用方法,可参考文档

文档网站

访问以下链接以获取完整的组件库文档和使用指南:

示例项目

以下是 zebra-swiper 官方提供的一些示例项目,开发者可以根据需求快速上手:

  • 📂 normal:使用 HbuilderX 创建的示例项目,通过 uni_modules 引入 zebra-ui
  • 📂 cli:基于 VSCode 创建,通过 pnpm 引入 zebra-ui 的示例项目。

Zebra 生态

Zebra 官方还维护了多个相关项目,为开发者提供了多样化的工具:

  • 🛠️ zebra-ui:基于 UniApp 的多端兼容组件库,采用 Vue 3 + TypeScript + Script Setup 构建。
  • 🎨 zebra-color:轻量级、全平台兼容的颜色选择器。
  • 🌐 zebra-axios:专为 UniApp 设计的 Axios 适配器,兼容小程序、H5 和 App。

贡献指南

zebra-swiper 目前仍处于初期开发阶段,我们非常欢迎开发者参与项目的完善和优化。您可以通过以下方式为社区做出贡献:

  • 🔄 提交 PR:修复问题或添加新功能。
  • 🐛 提交 Issues:报告使用中的问题或提出改进建议。
  • 🤝 加入 Zebra 团队:与我们一同探索和推进开源项目的发展。

手机预览

预览

交流群

QQ群:947159437 点击加入