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

layout-component-dahyeeee

v1.0.5

Published

기본 react layout을 사용할 수 있는 라이브러리

Readme

layout-component-dahyeeee

재사용 가능한 기본 레이아웃 리액트 컴포넌트를 모아놓은 라이브러리

installing

npm i @layout-component-dahyeeee

Components

Container

해당 요소를 부모의 가로 중앙에 배치시키는 컴포넌트

imports

import { Container } from '@layout-component-dahyeeee';

Props

| props | value | default | description | | -------- | ---------------- | ------- | ----------------------------------- | | maxWidth | number | string | 100vw | 요소의 최대 너비를 정할 수 있습니다 | | minWidth | number | string | 100px | 요소의 최소 너비를 정할 수 있습니다 | | as | HTML Element | div | 요소의 HTML Tag를 정할 수 있습니다 |

Grid

자식 컴포넌트들을 격자 형태로 배열하는 컴포넌트

imports

import { Grid } from '@layout-component-dahyeeee';

Props

| props | value | default | description | | ------ | ------------ | ------- | ------------------------------------------------ | | row | number | 2 | 수직축에 몇개의 요소를 나열할지 정할 수 있습니다 | | column | number | 2 | 수평축에 몇개의 요소를 나열할지 정할 수 있습니다 | | gap | string | 10px | 자식 요소 사이의 간격을 정할 수 있습니다 | | as | HTML Element | div | 요소의 HTML Tag를 정할 수 있습니다 |

Flex

CSS Flexbox를 사용하여 자식 컴포넌트들을 유연하게 배열하는 컴포넌트

imports

import { Flex } from '@layout-component-dahyeeee';

Props

| props | value | default | description | | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- | ----------------------------------------------- | | dir | row | column | row-reverse | column-reverse | row | 요소의 최대 너비를 정할 수 있습니다 | | align | normal | stretch | center | start | end |flex-start | flex-end | self-start | self-end | baseline | inherit | initial | unset | center | 모달이 화면에 나타남의 유무를 정할 수 있습니다. | | justify | center | start | flex-start | end | flex-end | left | right | normal | space-between | space-around | space-evenly | stretch | inherit | initial | revert | unset | center | 자식요소의 | | gap | string | 10px | 자식요소들 간 간격을 정할 수 있습니다 | | as | HTML Element | div | 요소의 HTML Tag를 정할 수 있습니다 |

SplitPane

화면을 분할해 크기를 조정할 수 있는 컴포넌트 자식컴포넌트를 2개를 넣어줘야 합니다.

imports

import { SplitPane } from '@layout-component-dahyeeee';

Props

| props | value | default | description | | ------------ | ----------- | ------- | ------------------------------------------------------------------------------------------------------------------- | | width | string | 100% | SplitPane을 적용하는 컴포넌트의 너비 | | paneMaxWidth | number | 500 | 왼쪽 pane의 최대 너비. 숫자만 입력 가능하며 px로 고정됩니다. | | paneMinWidth | number | 100 | 왼쪽 pane의 최소 너비. 숫자만 입력 가능하며 px로 고정됩니다. | | dividerStyle | CSSProperty | div | 가운데 분할선의 스타일. 선의 색과 굵이 등을 조절하고 싶다면 'borderRight' 속성을 선언해야 기본 선에 덮어씌워집니다. |

css 사용법

해당 라이브러리는 emotion을 사용했습니다.

styles 속성을 사용해 inline으로 css를 적용하면 제일 우선적으로 적용됩니다. emotioncss 속성을 사용해 css를 적용하면 기존 css 위에 덮어씌워집니다. css파일과 className 속성을 사용해 css를 적용하면 제일 후순위로 적영됩니다.

Example Page

컴포넌트들의 사용법과 사용예시를 storybook으로 배포했습니다. 자유롭게 컴포넌트를 경험해보세요!