npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@design-geniefy/ui

v0.0.14

Published

Design system components with shadcn/ui

Readme

@design-geniefy/ui

AX 조직을 위한 디자인 시스템 저장소.

운영 원칙

| 파일 | 배포 방식 | 업데이트 반영 | |------|-----------|---------------| | tokens.css | CDN (jsDelivr) | 즉시 반영 (캐시 퍼지 후) | | components/ | npm 패키지 | 버전 업데이트 후 설치 | | design-rules.md | CDN + 로컬 복사 | CDN 최신 + 로컬 커스텀 병행 |

왜 이렇게 나눴나?

  • 토큰 = CDN: 색상/간격 변경을 모든 프로젝트에 즉시 반영하고 싶음
  • 컴포넌트 = npm: 버전 관리로 breaking change 방지, 안정성 우선
  • 규칙 = CDN+로컬: 팀 공통 규칙은 CDN에서, 프로젝트별 커스텀은 로컬에서 확장

파일 역할

tokens.css

단일 소스 역할: 디자인 토큰(색상, 간격, 라디우스 등)의 유일한 정의 파일.

모든 프로젝트는 이 파일을 CDN으로 import하여 동일한 토큰 값을 사용한다.

@import url('https://cdn.jsdelivr.net/gh/conewarrior/design-system/tokens.css');

components/

단일 소스 역할: 팀 공용 React 컴포넌트의 유일한 소스.

npm 패키지로 배포되며, 프로젝트에서 import하여 사용한다.

npm install @design-geniefy/ui
import { Button } from '@design-geniefy/ui'

design-rules.md

단일 소스 역할: LLM이 UI 생성 시 준수해야 하는 제약 규칙과 프로토콜 정의.

/setup-design 커맨드가 이 파일을 프로젝트 로컬에 복사한다. Claude Code는 src/components/ 작업 시 이 규칙을 참조한다.


설치 및 사용

1. 자동 설정 (권장)

# Claude Code에서 실행
/setup-design

위 커맨드가 다음을 자동으로 처리:

  • globals.css에 토큰 CDN import 추가
  • design-rules.md 로컬 복사
  • @design-geniefy/ui 패키지 설치
  • CLAUDE.md에 규칙 참조 추가

2. 수동 설정

/* globals.css */
@import url('https://cdn.jsdelivr.net/gh/conewarrior/design-system/tokens.css');
npm install @design-geniefy/ui

컴포넌트 사용 예제

Button

import { Button } from '@design-geniefy/ui';

// Variants: primary, secondary, outline, ghost, destructive
<Button variant="primary">저장</Button>
<Button variant="secondary">취소</Button>
<Button variant="outline">더보기</Button>
<Button variant="destructive">삭제</Button>

// Sizes: sm, md, lg
<Button size="sm">작은 버튼</Button>
<Button size="md">기본 버튼</Button>
<Button size="lg">큰 버튼</Button>

// Disabled
<Button disabled>비활성화</Button>

Input

import { Input } from '@design-geniefy/ui';

// Basic usage
<Input placeholder="이름을 입력하세요" />

// Sizes: sm, md, lg
<Input inputSize="sm" placeholder="작은 입력" />
<Input inputSize="md" placeholder="기본 입력" />
<Input inputSize="lg" placeholder="큰 입력" />

// Error state
<Input error placeholder="오류 상태" />

// Disabled
<Input disabled placeholder="비활성화" />

토큰 필수

컴포넌트가 올바르게 렌더링되려면 tokens.css가 로드되어야 합니다:

/* globals.css 상단에 추가 */
@import url('https://cdn.jsdelivr.net/gh/conewarrior/design-system/tokens.css');

개발

npm run build    # TypeScript 컴파일 (dist/ 생성)

컴포넌트 추가

  1. components/{ComponentName}/ 폴더 생성
  2. index.ts에서 export 추가
  3. main 브랜치 push → GitHub Actions가 npm 자동 배포

토큰 수정

  1. tokens.css 수정
  2. main 브랜치 push → jsDelivr CDN에 즉시 반영

관련 링크