Skip to content
项目

关于

Kube Design for KubeSphere Console

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
正在收集历史
15天
正在收集历史
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Kube Design

A suite of components, hooks, and icons. Originally built for KubeSphere Console, but it can also be used for developing any other React web apps.

Documentation

https://kubesphere-design.netlify.app/zh

Requirement

To develop and build this repository, including the documentation site in docs/, install Node.js 26 and Yarn Classic.

  • Node.js 26.x
  • Yarn 1.22.22

Installation

$ yarn add @kubed/components @kubed/hooks @kubed/icons

# or

$ npm i @kubed/components @kubed/hooks @kubed/icons

Usage

  1. Wrap your application with the KubedConfigProvider:
import { CssBaseline, KubedConfigProvider } from '@kubed/components';

const Application = () => (
  <KubedConfigProvider>
    <CssBaseline /> // ---> Normalize styles
    <AppComponent /> // ---> Root of your application
  </KubedConfigProvider>
)
  1. Use components like so:
import { Button } from "@kubed/components"

const MyComponent = () => <Button>Click Me</Button>

Contributing

...

Thank

We benefit a lot from these awesome project, Many thanks to them.

License

MIT © kubesphere

探索相关项目

加载中…