MCPcopy
hub / github.com/kuma-ui/kuma-ui

github.com/kuma-ui/kuma-ui @main sqlite

repository ↗ · DeepWiki ↗
289 symbols 838 edges 228 files 2 documented · 1%
README

Kuma UI logo

Ultra Fast, Zero Runtime, Headless UI Components

Documentation

<a href='https://www.npmjs.com/package/@kuma-ui/core'>
  <img src='https://img.shields.io/npm/v/@kuma-ui/core'>
</a>
<a href='https://bundlephobia.com/package/@kuma-ui/core'>
  <img src='https://img.shields.io/bundlephobia/minzip/@kuma-ui/core'>
</a>

https://github.com/kuma-ui/kuma-ui/assets/59927325/c3f7da97-dbff-49bb-a578-1cb9134b8dd2

🐻‍❄️ Features

  • Zero-runtime: Deliver blazing-fast websites with zero-runtime CSS extraction.

  • 🔮 Autocomplete: Experience seamless development with style autocompletion.

  • 🛠️ Headless Components: Enjoy maximum customization freedom with our headless components.

  • 🤝 Hybrid Approach: The best of both worlds—support for any writing style with our hybrid approach.

  • 🚀 RSC Support: Stay updated with cutting-edge Next.js technology via our RSC support.

  • 🥇 Familiar DX : Delight in the ultimate DX with our familiar API design.

💻 Installation

npm install @kuma-ui/core

For installation instructions and more detailed information, please visit our documentation. Be sure to check out our guide for setting up Kuma UI with your specific framework (Next.js or Vite).

🔫 Example

function App() {
  return (
    <Box as="main" display="flex" flexDir={["column", "row"]}>
      <Heading
        as="h3"
        className={css`
          color: red;
          @media (max-width: sm) {
            color: blue;
          }
        `}
      >
        Kuma UI
      </Heading>
      <Spacer size={4} />
      <Flex flexDir={`column`}>
        <Text as="p" fontSize={24}>
          Headless UI Component Library
        </Text>
        <Button variant='primary'>Getting Started</Button>
      </Flex>
    </Box>
  );
}

👥 Join the Community

Connect with us on Twitter and Discord to stay up to date with our latest developments, or to provide us with your valuable feedback!

Welcome to Kuma UI, we can't wait to see what you build with it 🐻‍❄️.

Extension points exported contracts — how you extend this code

StyleSheet (Interface)
(no doc) [5 implementers]
packages/core/src/registry/sheet/StyleSheet.ts
Theme (Interface)
(no doc)
example/next-app-router/kuma.config.ts
Theme (Interface)
(no doc)
example/vite/kuma.config.ts
ICache (Interface)
(no doc)
packages/sheet/src/cache.ts
Theme (Interface)
(no doc)
website/kuma.config.ts
Theme (Interface)
(no doc)
packages/core/src/theme.ts
Placeholders (Interface)
(no doc)
packages/sheet/src/placeholders.ts
Theme (Interface)
(no doc)
packages/core/src/components/types.test.ts

Core symbols most depended-on inside this repo

compileSync
called by 20
packages/compiler/src/index.ts
getExpectSnapshotSync
called by 18
packages/compiler/src/__test__/testUtils.ts
forwardRef
called by 15
packages/core/src/components/forwardRef.ts
css
called by 14
packages/core/src/css.ts
resolveMergedBoxProps
called by 12
packages/core/src/components/variants.ts
getCSS
called by 12
packages/sheet/src/sheet.ts
applyPlaceholders
called by 11
packages/sheet/src/placeholders.ts
parseCSS
called by 11
packages/sheet/src/sheet.ts

Shape

Function 176
Method 82
Class 22
Interface 9

Languages

TypeScript100%

Modules by API surface

packages/sheet/src/sheet.ts24 symbols
packages/core/src/registry/sheet/ClientStyleSheet.ts13 symbols
packages/core/src/registry/sheet/StyleSheet.ts11 symbols
packages/core/src/registry/sheet/ServerStyleSheet.ts11 symbols
packages/system/src/generator.ts10 symbols
packages/sheet/src/theme.ts9 symbols
packages/sheet/src/styleMap.ts8 symbols
packages/sheet/src/cache.ts8 symbols
packages/core/src/registry/StyleSheetRegistry.ts8 symbols
packages/vite/src/index.ts7 symbols
packages/next-plugin/src/index.ts5 symbols
packages/webpack-plugin/src/plugin.ts4 symbols

Dependencies from manifests, versioned

@babel/cli7.21.0 · 1×
@babel/core7.21.4 · 1×
@babel/node7.20.7 · 1×
@babel/preset-env7.21.4 · 1×
@babel/preset-react7.18.6 · 1×
@babel/preset-typescript7.21.4 · 1×
@changesets/changelog-github0.4.8 · 1×
@changesets/cli2.26.1 · 1×
@kuma-ui/babel-pluginworkspace:^ · 1×
@kuma-ui/compilerworkspace:^ · 1×
@kuma-ui/coreworkspace:* · 1×
@kuma-ui/next-pluginworkspace:* · 1×

For agents

$ claude mcp add kuma-ui \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact