Skip to content

wireweave/ui

Repository files navigation

@wireweave/ui

React component design system for the Wireweave product line.

npm MIT

Installation

npm install @wireweave/ui
# or
pnpm add @wireweave/ui

Peer dependencies: react@^19, react-dom@^19, tailwindcss@^4.

Usage

import { Button, Card, CardContent } from '@wireweave/ui';
import '@wireweave/ui/styles';

export function Example() {
  return (
    <Card>
      <CardContent>
        <Button variant="primary">Get started</Button>
      </CardContent>
    </Card>
  );
}

Theming

The package ships a single source of truth for the Wireweave design system tokens. Light theme is the default; dark theme activates when the .dark class is present on a parent element (or via prefers-color-scheme: dark).

<html className={isDark ? 'dark' : ''}>
  <body>{/* … */}</body>
</html>

Semantic tokens (--color-foreground, --color-background, --color-muted, …) are defined in the package's @theme block and overridden under .dark. Consumers must not hardcode hex values; reference tokens via Tailwind arbitrary values such as bg-[var(--color-paper-1)] or via the documented utility classes.

Storybook

Browse all components, variants, and dark/light token previews at ui.wireweave.org.

pnpm storybook        # local dev (port 6006)
pnpm build-storybook  # static build

Releases

This package follows the same release flow as @wireweave/core:

  • develop branch → --tag beta (preRelease)
  • main branch → --tag latest
  • Conventional commits + release-it + npm provenance via Trusted Publishing.

License

MIT © Wireweave

About

Wireweave 디자인 시스템 — 21개 React 컴포넌트, Radix UI + CVA + Tailwind v4, 라이트/다크 듀얼 테마

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors