Skip to content
项目

bluebill1049/react-simple-animate

在 GitHub 查看

关于

🎯 让 React UI 动画变得简单

设计与媒体

这些数字如何统计

可以做什么

  • Animate with CSS transitions or keyframes
  • Sequence animations with AnimateGroup
  • Control animations with hooks
  • Small package with no runtime dependencies

实测星标增长

24小时
-1
7天
-1
15天
-1
1个月
0

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Simple React animations with components and hooks.

npm downloads npm License

Get started | Animate | Keyframes | Groups | Hooks | Examples

Features

Install

npm install react-simple-animate

Quickstart

import { Animate } from 'react-simple-animate';

function App() {
  return (
    <Animate play start={{ opacity: 0 }} end={{ opacity: 1 }}>
      <h1>Hello, animation!</h1>
    </Animate>
  );
}

See the documentation for API details and more examples.

探索相关项目

加载中…