Proyek
Lihat di GitHub
kubesphere/kube-design
Tentang
Kube Design for KubeSphere Console
Pengembangan web dan aplikasiPertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- Mengumpulkan riwayat
- dalam 15 hari
- Mengumpulkan riwayat
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
AsliKube 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
- Wrap your application with the
KubedConfigProvider:
import { CssBaseline, KubedConfigProvider } from '@kubed/components';
const Application = () => (
<KubedConfigProvider>
<CssBaseline /> // ---> Normalize styles
<AppComponent /> // ---> Root of your application
</KubedConfigProvider>
)
- 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
Jelajahi proyek terkait
Memuat…