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

@wzrhine/react

v0.2.0

Published

Accessible React components for research / archive interfaces, built on Base UI and motion/react.

Readme

@wzrhine/react

面向科研、档案类界面的 React 组件库:可访问性优先,交互底座为 Base UI,动效使用 motion/react,视觉全部由 --rl-* tokens 决定。

原创设计,非官方项目。MIT 许可证;0.x 阶段 API 可能调整。

pnpm add @wzrhine/react @wzrhine/tokens react react-dom motion
import '@wzrhine/tokens/styles.css';
import '@wzrhine/react/styles.css';
import { Button, Field, Input, RhineProvider } from '@wzrhine/react';

export function App() {
  return (
    <RhineProvider theme="light">
      <Field label="记录编号" description="格式 ARC-0000。">
        <Input mono />
      </Field>
      <Button>保存记录</Button>
    </RhineProvider>
  );
}
  • 入口没有 CSS 副作用:样式需要按上面的方式显式导入(ADR-0002)。
  • Dialog、AlertDialog、Drawer、Select、Tooltip、Popover、Menu、Toast 必须放在 RhineProvider 内,才能继承主题和减动设置。
  • 组件:Button、IconButton、Surface、StatusBadge、Text、Separator、VisuallyHidden、Field、Input、Textarea、Checkbox、CheckboxGroup、RadioGroup、Radio、Switch、Fieldset、Form、Tabs、Tooltip、Dialog、Select、Popover、Menu、Toast、RecordHeader、MetadataList、ArchiveCard、StatusIndicator、Timeline、DataTable,以及 Pagination、Breadcrumb、Progress、Meter、Stat,以及 AlertDialog、Drawer、Alert、Callout、EmptyState、Skeleton、Spinner。
  • Motion Core(ADR-0007):动效预设 transition / duration / ease,useRhineMotion()(reduced、resolve(kind, name) 按属性类型减动),MotionPresence、RhineMotionGroup / RhineMotionItem,useMotionLifecycle、usePageVisible、useInViewport、useLatestGuard;ArchiveCard motion="identity" 与 ArchiveIdentity。见 MOTION-PATTERNS.md。

文档: