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

@coding-flow/flow-icons

v0.0.7

Published

flow-engine icons

Readme

@coding-flow/flow-pc-ui

Flow Engine PC 端基础 UI 组件库,提供原子化 UI 组件。

简介

flow-pc-ui 是 Flow Engine PC 端的基础 UI 组件库,提供原子化的 UI 组件:

  • 基础输入组件(按钮、输入框、选择器等)
  • 数据展示组件(表格、列表、卡片等)
  • 反馈组件(弹窗、消息提示、加载等)
  • 布局组件(容器、分割线、间距等)

基于 Ant Design 组件库构建,提供统一的设计风格。

依赖关系

  • 依赖: @coding-flow/flow-core

Setup

安装依赖:

pnpm install

开发

构建组件库:

pnpm run build

监听模式构建:

pnpm run dev

核心组件

基础输入组件

  • Button - 按钮
  • Input - 输入框
  • Select - 选择器
  • Checkbox - 复选框
  • Radio - 单选框
  • Switch - 开关
  • DatePicker - 日期选择器

数据展示组件

  • Table - 表格
  • List - 列表
  • Card - 卡片
  • Descriptions - 描述列表
  • Timeline - 时间轴

反馈组件

  • Modal - 对话框
  • Message - 全局提示
  • Notification - 通知提醒框
  • Spin - 加载状态
  • Progress - 进度条

布局组件

  • Container - 容器
  • Divider - 分割线
  • Space - 间距
  • Grid - 栅格布局

模块结构

flow-pc-ui/
├── src/
│   ├── button/         # 按钮组件
│   ├── input/          # 输入框组件
│   ├── select/         # 选择器组件
│   ├── table/          # 表格组件
│   ├── modal/          # 对话框组件
│   └── index.ts        # 统一导出
└── README.md

使用示例

import { Button, Input, Modal } from '@coding-flow/flow-pc-ui';

// 使用按钮组件
<Button type="primary" onClick={handleClick}>
  提交
</Button>

// 使用输入框组件
<Input
  placeholder="请输入内容"
  value={value}
  onChange={handleChange}
/>

// 使用对话框组件
Modal.confirm({
  title: '确认提交',
  content: '确定要提交该流程吗?',
  onOk: handleSubmit
});

主题定制

支持通过 CSS 变量进行主题定制:

:root {
  --primary-color: #1890ff;
  --success-color: #52c41a;
  --warning-color: #faad14;
  --error-color: #f5222d;
}

Learn more