GitHub Hot Board

GitHub Hot Board · 저장소 아카이브

pmndrs/react-spring

A spring physics based React animation library (소개는 저장소 자체 문서에서 왔습니다.)

데이터 기준 October 25pmndrs

최고 순위

#228

종합 · TypeScript 언어별

29K

누적 스타

1.2K

포크 수

0

최근 30일 기록 일수

프로젝트 상태라이선스: MIT최근 push: October 24열린 이슈(PR 포함): 78

2026-10-25부터 수집. 미확인 = 아직 미수집

README에 뱃지를 붙여보세요 · pmndrs/react-spring[![README에 뱃지를 붙여보세요](https://git.vaiox.xyz/api/badge/pmndrs/react-spring.svg)](https://git.vaiox.xyz/ko/repo/pmndrs/react-spring)
<a href="https://git.vaiox.xyz/ko/repo/pmndrs/react-spring"><img src="https://git.vaiox.xyz/api/badge/pmndrs/react-spring.svg" alt="README에 뱃지를 붙여보세요" height="20"></a>

프로젝트 문서


react-spring

A spring-physics first animation library
giving you flexible tools to confidently cast your ideas


Chat on Discord


react-spring is a cross-platform spring-physics first animation library.

It's as simple as:

const styles = useSpring({
  from: {
    opacity: 0
  },
  to: {
    opacity: 1
  }
})

<animated.div style={styles} />

Just a small bit about us:

  • Cross-Platform: We support react-dom and react-three-fiber.
  • Versatile: Be declarative with your animations or if you prefer, imperative.
  • Spring-Physics First: By default animation use springs for fluid interactivity, but we support durations with easings as well.

There's a lot more to be had! Give it a try and find out.

Getting Started

⚡️ Jump Start

# Install the target you need
npm install @react-spring/web
# or, for react-three-fiber
npm install @react-spring/three
import { animated, useSpring } from '@react-spring/web'

const FadeIn = ({ isVisible, children }) => {
  const styles = useSpring({
    opacity: isVisible ? 1 : 0,
    y: isVisible ? 0 : 24,
  })

  return <animated.div style={styles}>{children}</animated.div>
}

It's as simple as that to create scroll-in animations when value of isVisible is toggled.

📖 Documentation and Examples

More documentation on the project can be found here.

Pages contain their own examples which you can check out there, or open in codesandbox for a more in-depth view!


📣 What others say

Used by

And many others...

Backers

Thank you to all our backers! 🙏 If you want to join them here, then consider contributing to our Opencollective.

Contributors

This project exists thanks to all the people who contribute.

현재 순위

최근 30일 추이

최근 30일간 기록이 없습니다.

비슷한 프로젝트 · 공유 토픽

← 랭킹으로