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

@kimdw-rtk/animation-test

v0.0.1

Published

```bash # npm npm install @kimdw-rtk/animation @kimdw-rtk/utils

Readme

@kimdw-rtk/animation

Installation

# npm
npm install @kimdw-rtk/animation @kimdw-rtk/utils

# pnpm
pnpm add @kimdw-rtk/animation @kimdw-rtk/utils

# yarn
yarn add @kimdw-rtk/animation @kimdw-rtk/utils

Usage

Animated.* 컴포넌트는 아래와 같은 공통 props를 가지고 있습니다. | props | type | default value | description | | -------- | ------------------------------------------ | ------------- | ---------------------------------------- | | duration | number | required | Anmiation 지속 시간 | | delay | number | 0 | Animation 시작까지 지연 시간 | | initial | string \| CSSProperties | required | Animation 시작 전에 적용할 스타일/클래스 | | animate | string \| CSSProperties | required | Animation 마지막에 적용할 스타일/클래스 | | easing | CSSProperties['animationTimingFunction'] | 'ease' | Animation timing function |

Text Animation (Animated.Text)

import { Animated } from '@kimdw-rtk/animation';

<Animated.Text initial={{ opacity: 0 }} animate={{ opacity: 1 }} duration={500}>
  hello, world!
</Animated.Text>;

| props | type | default value | description | | ----- | -------------------- | ------------- | ----------------------------------- | | unit | 'letter' \| 'word' | 'letter' | Animation을 적용할 단위 (글자/단어) |

Animated.Box

div를 wrapping 하여 animation을 적용하는 컴포넌트입니다.

import { Animated } from '@kimdw-rtk/animation';

<Animated.Box initial={{ opacity: 0 }} animate={{ opacity: 1 }} duration={500}>
  hello, world!
</Animated.Box>;

Animated.Single

하위 요소에 직접 animation을 적용하는 컴포넌트입니다.

import { Animated } from '@kimdw-rtk/animation';

<Animated.Single
  initial={{ opacity: 0 }}
  animate={{ opacity: 1 }}
  duration={500}
>
  <p>hello, world!</p>
</Animated.Single>;

Animated.Multi

여러 요소에 개별의 animation을 적용할 때 사용하는 컴포넌트입니다.

import { Animated } from '@kimdw-rtk/animation';

<Animated.Multi
  initial={{ opacity: 0 }}
  animate={{ opacity: 1 }}
  duration={500}
  delayGap={500}
>
  <span>hello,</span>
  <span>world!</span>
</Animated.Multi>;

| props | type | default value | description | | ----------- | -------- | ------------- | ------------------------ | | durationGap | number | 0 | 요소마다 증가할 duration | | delayGap | number | 0 | 요소마다 증가할 delay |

TransitionGroup

요소의 mount 뿐만 아니라 unmount 발생 시 Animation을 적용할 수 있습니다. key를 기준으로 요소의 mount/unmount를 판별합니다.

import { useState } from 'react';

import { CSSTransition, TransitionGroup } from '@kimdw-rtk/animation';

const [step, setStep] = useState<number>(0);

<TransitionGroup>
  <CSSTransition
    key={step}
    initial={{ opacity: 0 }}
    animate={{ opacity: 1 }}
    exit={{ opacity: 0 }}
    duration={500}
  >
    <button onClick={() => setStep((prev) => prev + 1)}>{step}</button>
  </CSSTransition>
</TransitionGroup>;

| props | type | default value | description | | ----- | ------------------------- | ------------- | ------------------------------- | | exit | string \| CSSProperties | required | unmount 시 적용할 스타일/클래스 |