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

@gedatou/cadenza-icons

v0.9.2

Published

Animated icons for cadenza — animate-ui's lucide-style set, drawn from data

Downloads

511

Readme

@gedatou/cadenza-icons

414 个带动画的图标:392 个来自 animate-ui 的 lucide 风格图标集,每个有自己的动画(铃铛摇摆、齿轮转动……); 另外 22 个是 animate-ui 没有的图形,取自 Tabler,配 animate-ui 通用的描边绘制。播放由 AnimateIcon 的触发方式驱动。

pnpm add @gedatou/cadenza-icons
import { AnimateIcon, BellIcon, SettingsIcon } from '@gedatou/cadenza-icons'

export function Header() {
  return (
    <>
      {/* 悬停图标本身时播放 */}
      <BellIcon animateOnHover />
      {/* 悬停整个按钮时,里面的图标跟着动 */}
      <AnimateIcon animateOnHover>
        <button type="button">
          <SettingsIcon />
          设置
        </button>
      </AnimateIcon>
    </>
  )
}
  • 每个图标一个模块、sideEffects: false:只用到的图标会进包,其余的会被摇掉。
  • 每个图标只有一个名字 XxxIcon,props 类型是 XxxIconProps。
  • 默认对读屏隐藏(aria-hidden);传 aria-label、aria-labelledby 或 role 时不隐藏。
  • 依赖 @animate-ui/react 与 motion,peer 是 react / react-dom 19。

@gedatou/cadenza-ui 的组件用的就是这套图标。完整文档见 Icons。

维护

  • pnpm --filter @gedatou/cadenza-icons sync:icons:从 animate-ui 的 shadcn 注册表重新拉取,转换成本包的数据形式 (图形与动画参数,由 src/create-icon.tsx 渲染)。转换器严格匹配图标模板,遇到模板以外的写法直接报错; 加 --out <dir> 可以先输出到别处看会改什么。
  • pnpm --filter @gedatou/cadenza-icons draw:icons:重新生成 Tabler 补形 src/drawn.ts。

许可

animate-ui 的图标遵循它的 MIT + Commons Clause 许可(见 ANIMATE-UI-LICENSE.md), Tabler 的图形是 MIT,其余部分是 MIT。详见 LICENSE.md。