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

@zjpcy/simple-design

v1.8.3

Published

zjpcy Studio Design System - React Component Library

Readme

ZjpCy Design Component Library Usage Guide

1. Introduction

ZjpCy Design is a modern UI component library based on React, offering a range of concise, visually appealing, and user-friendly components suitable for various web application developments.

  • 🎨 Modern design style with consistent visual language
  • ⚡️ Lightweight and high performance
  • 📱 Responsive design support
  • 🌐 Internationalization (i18n) support
  • 📝 TypeScript support with complete type definitions

2. Installation

# Install with npm
npm i @zjpcy/simple-design

# Install with yarn
yarn add @zjpcy/simple-design

# Install with pnpm
pnpm add @zjpcy/simple-design

3. Import CSS

// Reference CSS variables from component libraries
import '@zjpcy/simple-design/dist/variables.css';
// Reference the style of the component library
import '@zjpcy/simple-design/dist/cjs/index.css';

4. Quick Start

Basic Usage

import React from 'react';
import { Button, Message } from '@zjpcy/simple-design';

function App() {
  const handleClick = () => {
    Message.success('Hello, ZjpCy Design!');
  };

  return (
    <Button type="primary" onClick={handleClick}>
      Click Me
    </Button>
  );
}

export default App;

With StyledProvider (Recommended)

For theme customization and better style isolation:

import { StyledProvider } from '@zjpcy/simple-design';

function App() {
  return (
    <StyledProvider theme="light">
      <YourApp />
    </StyledProvider>
  );
}

5. Component List

General Components

| Component | Description | |-----------|-------------| | Button | Button component with multiple variants | | Icon | Icon component with SVG support | | Typography | Text formatting component |

Layout Components

| Component | Description | |-----------|-------------| | Flex | Flexible box layout | | Grid / Row / Col | 24-column grid system | | Layout | Page layout structure (Header, Content, Footer, Sider) | | Space | Spacing component | | Splitter | Resizable split panel |

Navigation Components

| Component | Description | |-----------|-------------| | Anchor | Page anchor navigation | | Breadcrumb | Breadcrumb navigation | | Dropdown | Dropdown menu | | Menu | Navigation menu | | Pagination | Pagination component | | Steps | Step-by-step navigation | | Tabs | Tab navigation | | Top | Back to top button |

Form Components

| Component | Description | |-----------|-------------| | AutoComplete | Autocomplete input | | Cascader | Cascading selector | | Checkbox | Checkbox | | ColorPicker | Color picker | | DatePicker / RangePicker | Date selection | | Form | Form container with validation | | Input | Input field | | InputNumber | Numeric input | | InputSearch | Search input | | Radio | Radio button | | Rate | Star rating | | Select | Dropdown selector | | Slider | Slider input | | Switch | Toggle switch | | TimePicker | Time selection | | Transfer | Shuttle box | | TreeSelect | Tree selector | | Upload | File upload |

Data Display Components

| Component | Description | |-----------|-------------| | Calendar | Calendar display | | Carousel | Carousel/slider | | Empty | Empty state placeholder | | Marquee | Scrolling text | | Masonry | Waterfall layout | | Table | Data table | | Tag | Tag component | | Tree | Tree structure |

Feedback Components

| Component | Description | |-----------|-------------| | Drawer | Slide-out panel | | Message | Message prompt | | Modal | Modal dialog | | Notification | Notification box | | Popconfirm | Confirmation popup | | Progress | Progress bar | | Spin | Loading spinner | | Tooltip | Text tooltip |

Utility Components

| Component | Description | |-----------|-------------| | CopyToClipboard | Copy to clipboard | | Divider | Divider line | | Label | Label component |

6. Internationalization (i18n)

ZjpCy Design supports multiple languages:

import { I18nProvider, useI18n } from '@zjpcy/simple-design';

function App() {
  return (
    <I18nProvider locale="zh-CN">
      <YourApp />
    </I18nProvider>
  );
}

Supported locales: zh-CN, en-US, ja-JP, ko-KR

7. Local Development

To enable local development, follow these steps:

  1. Clone the repository: git clone https://github.com/zjpcy/idp-design.git
  2. Navigate to the project directory: cd idp-design
  3. Install dependencies: npm install or yarn install
  4. Start the development server: npm run dev or yarn dev

8. Build

# Build for production
npm run build

# Build types only
npm run build:types

# Build with Rollup only
npm run build:rollup

9. Browser Support

  • Chrome >= 80
  • Firefox >= 75
  • Safari >= 13
  • Edge >= 80

10. License

MIT License © 2025 ZjpCy Design