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

@gaudi-dev/space-component

v0.1.5

Published

UI组件库,用于SpaceTime项目

Downloads

2

Readme

Space Component

这是一个为SpaceTime项目开发的UI组件库,提供了一系列可复用的React组件。

文档

查看组件库文档和示例:https://components.gaudivideo.com/

安装

npm install --save @gaudi-dev/space-component
# 或者
yarn add @gaudi-dev/space-component

使用

import { Button, Card } from '@gaudi-dev/space-component';

function App() {
  return (
    <div>
      <Card title="示例卡片">
        这是一个示例卡片内容
        <Button>点击我</Button>
      </Card>
    </div>
  );
}

开发

  1. 克隆仓库
git clone <repository-url>
cd space-component
  1. 安装依赖
pnpm install
  1. 启动Storybook进行开发
pnpm storybook
  1. 构建组件库
pnpm build
  1. 构建Storybook文档站点
pnpm build-storybook
  1. 部署Storybook到Cloudflare Pages
pnpm deploy-storybook
  1. 发布组件库到NPM
# 确保已经登录到NPM
npm login

# 发布组件库(注意:带有组织作用域的包需要指定为公开)
npm publish --access public

组件列表

基础组件

  • Button - 按钮
  • Card - 卡片
  • Badge - 徽章
  • Input - 输入框
  • Textarea - 文本域
  • Label - 标签
  • Select - 选择器

布局组件

  • Separator - 分隔线
  • Sheet - 抽屉

反馈组件

  • Alert Dialog - 警告对话框
  • Toast - 消息提示
  • Progress - 进度条
  • Skeleton - 骨架屏
  • Full Screen Loader - 全屏加载器

导航组件

  • Tabs - 标签页
  • Dropdown Menu - 下拉菜单
  • Command - 命令菜单

数据展示

  • Avatar - 头像
  • Tooltip - 文字提示
  • Popover - 弹出框

更多组件正在开发中...

贡献指南

  1. Fork 这个仓库
  2. 创建你的特性分支 (git checkout -b feature/amazing-feature)
  3. 提交你的改动 (git commit -m 'Add some amazing feature')
  4. 推送到分支 (git push origin feature/amazing-feature)
  5. 开启一个 Pull Request

许可证

MIT