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

@mooncellwiki/prts-design-vue

v0.1.32

Published

PRTS Design 的 Vue 3 实现:输出与 CSS 实现相同的 .ak-* 结构,自带状态、键盘与可访问性;不带样式——prts.wiki 上由皮肤 / skins.arknights.components 模块提供,站外用 @mooncellwiki/prts-design-css

Readme

@mooncellwiki/prts-design-vue

PRTS Design(明日方舟网页设计系统)的 Vue 3 实现,≈ primer/react。组件输出与 CSS 实现相同的 .ak-* 结构,自带状态(v-model)、键盘操作与可访问性属性;不带样式,样式按宿主来:

| 宿主 | 样式 | |---|---| | prts.wiki · Arknights 皮肤(Skin:Arknights) | 皮肤已加载全套,直接用 | | prts.wiki · 其它皮肤(Vector 2022 …) | 挂载前 await mw.loader.using(["skins.arknights.components"])(Arknights 皮肤上是空操作) | | 站外 | import "@mooncellwiki/prts-design-css"(可选 peer 依赖;不含字体与游戏素材) |

widget 的根节点包一层 <AkScope>(= class="ak-scope"):排版基线挂在这里、不靠宿主的 body,三种宿主上看起来一样;<AkScope theme="dark|light"> 让这一块局部固定走终端 / 档案配色。

import { AkButton, AkScope, AkTabPane, AkTabs } from "@mooncellwiki/prts-design-vue";

API 参考 Naive UI(主状态统一用默认 v-model,外观用 variant,label 只作可访问名)。游戏素材(道具图、头像)的地址由调用方传入。

许可:MIT。

文档:https://mooncellwiki.github.io/prts-design/guide/vue · Storybook:https://mooncellwiki.github.io/prts-design/storybook/