跳到正文

Kumo

热门趋势活跃
cloudflare/kumo

Cloudflare 的无障碍 React 组件库,基于 Base UI 构建,附带可查询组件文档的命令行工具和 Figma 插件。

在 GitHub 查看
星标
4229
Fork
207
关注
4229
未关闭 Issue
55

该介绍目前仅提供英文版本。

Overview

Kumo is Cloudflare’s component library for building modern web applications. Its components are accessible and follow Cloudflare’s design system; built on Base UI, they handle keyboard navigation, focus management and ARIA attributes for you.

Installation

pnpm add @cloudflare/kumo
pnpm add react react-dom @phosphor-icons/react
import { Button, Input, Dialog } from "@cloudflare/kumo";
import "@cloudflare/kumo/styles";

Granular imports such as @cloudflare/kumo/components/button keep bundles small, and every Base UI primitive is re-exported under @cloudflare/kumo/primitives/*.

Component docs from the terminal

npx @cloudflare/kumo ls          # list all components
npx @cloudflare/kumo doc Button  # docs for one component

The repository also contains the docs site, semantic color tokens and a Figma plugin for syncing design tokens.

按共同分类和标签排序的同类开源项目。

全部开发工具项目 →