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

@ydmnypg/design-system

v0.2.0

Published

StudioYS shared React design system components.

Downloads

200

Readme

@ydmnypg/design-system

StudioYS 웹 앱에서 공통으로 사용하는 React/Tailwind UI 컴포넌트 패키지입니다.

요구 사항

  • React 18 또는 19
  • React DOM 18 또는 19
  • Tailwind CSS 4

포함 컴포넌트

  • Button, IconButton
  • Input, Textarea, Select, Checkbox, Field
  • Card, SummaryCard, Badge, Section
  • Dialog
  • DataTable
  • PageHeader

설치

npm install @ydmnypg/design-system

React와 React DOM은 앱 프로젝트에서 직접 설치합니다.

{
  "dependencies": {
    "@ydmnypg/design-system": "^0.1.0",
    "react": "^19.0.0",
    "react-dom": "^19.0.0"
  }
}

Tailwind 설정

이 패키지는 Tailwind class를 포함한 React 컴포넌트를 제공합니다. 앱 프로젝트의 CSS 엔트리 파일에 패키지 빌드 산출물을 source로 추가해야 합니다.

@import "tailwindcss";
@source "../node_modules/@ydmnypg/design-system/dist";

사용법

import { Button, Field, Input, Section } from "@ydmnypg/design-system";

export function ExampleForm() {
  return (
    <Section title="기본 정보">
      <Field label="이름" required>
        <Input placeholder="이름을 입력하세요" />
      </Field>
      <Button variant="primary">저장</Button>
    </Section>
  );
}

공개 타입도 함께 제공합니다.

import type { BadgeTone } from "@ydmnypg/design-system";

const tone: BadgeTone = "green";

로컬 개발

배포 전 로컬 앱에서 확인할 때는 앱 프로젝트의 package.json에 file dependency로 연결할 수 있습니다.

"@ydmnypg/design-system": "file:../../packages/design-system"

로컬 패키지를 수정한 뒤에는 빌드 산출물을 갱신합니다.

npm run build

배포

배포 전에 포맷, 빌드, 패키징 구성을 확인합니다.

npm run format:check
npm run build
npm pack --dry-run

문제가 없으면 npm에 배포합니다. scoped public package이므로 첫 배포와 이후 배포 모두 --access public을 사용합니다.

npm login
npm version patch
npm publish --access public

TypeScript 호환성

생성되는 declaration file은 import * as React from "react" 형태를 사용합니다. 따라서 소비 프로젝트가 esModuleInterop을 켜지 않아도 React 타입 import 문제 없이 사용할 수 있습니다.