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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@klein-design/klein-react

v1.1.11

Published

<h1 align="center">Klein Design</h1>

Downloads

50

Readme

服务于SaaS行业的设计系统,专注更好的用户体验

NPM version NPM downloads

🎯 介绍

从多年深耕SaaS行业实践中,我们抽象出了一套基础组件。在项目中覆盖了95%以上的页面,实现了1500+的前端页面无UI开发,前端交付质量也得到了大幅提升。同时在这些基础组件的设计上提供了细致的配置选项,以便开发者后续的拓展和定制。开发者可以根据具体需求进行灵活的配置,使组件库与开发者自身项目完美匹配,满足各种定制化的需求。

✨ 特性

  • 🌈 涵盖了大多数saas业务需求,为开发者提供了丰富的选择。
  • 📦 开箱即用的高质量 React 组件。
  • 🛡 使用 TypeScript 开发,提供完整的类型定义文件。
  • 🌍 国际化语言支持。
  • 🎨 强大的主题定制能力。

🖥 兼容环境

  • 现代浏览器。
  • 支持服务端渲染。
  • Electron

| Edge | Firefox | Chrome | Safari | Electron | | --- | --- | --- | --- | --- | | Edge | last 2 versions | last 2 versions | last 2 versions | last 2 versions |

📦 安装

npm i @klein-design/klein-react --save
yarn add @klein-design/klein-react

🔨 示例

import { useState } from "react";
import { Button } from "@klein-design/klein-react";
import "@klein-design/klein-react/dist/@klein-design/klein-react.min.css";

function App() {
  const [count, setCount] = useState(0);

  return (
    <Button type="primary" onClick={() => setCount((count) => count + 1)}>
      count is {count}
    </Button>
  );
}

export default App;

🔗 链接

⌨️ 本地开发

开发指南

👥 社区互助

如果您在使用的过程中碰到问题,可以通过下面几个途径寻求帮助。

通过 GitHub Discussions 提问时,建议使用 Q&A 标签。

GitHub Discussions