Title: Simple Block Animations
Author: Valentin Grenier
Published: <strong>2025 年 12 月 12 日</strong>
Last modified: 2026 年 3 月 5 日

---

搜索插件

![](https://s.w.org/plugins/geopattern-icon/simple-block-animations.svg)

# Simple Block Animations

 作者：[Valentin Grenier](https://profiles.wordpress.org/valentingrenier/)

[下载](https://downloads.wordpress.org/plugin/simple-block-animations.2.0.7.zip)

 * [详情](https://cn.wordpress.org/plugins/simple-block-animations/#description)
 * [评价](https://cn.wordpress.org/plugins/simple-block-animations/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/simple-block-animations/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/simple-block-animations/#developers)

 [支持](https://wordpress.org/support/plugin/simple-block-animations/)

## 描述

Simple block animations adds scroll-triggered animations to WordPress Gutenberg 
blocks without any coding required.

**Features:**

 * 5 animation types (fade, slide up/down/left/right)
 * Customizable duration and delay
 * Works with all blocks (core, third-party, and custom blocks)
 * Lightweight (CSS + Intersection Observer)
 * No jQuery or heavy libraries
 * Accessibility-friendly (respects prefers-reduced-motion)

**Supported Blocks:**

Works with all WordPress blocks, including core blocks, third-party blocks, and 
custom blocks.

**Development:**

The source code for this plugin is available on GitHub: https://github.com/valentin-
grenier/simple-animations-for-gutenberg

The plugin uses npm and webpack to compile JavaScript and CSS files. Source files
are located in the `src/` directory, and compiled files are in the `build/` directory.

To build from source:
 1. Install dependencies: `npm install` 2. Build for production:`
npm run build` 3. Build for development: `npm run dev`

## 安装

 1. Upload the plugin files to `/wp-content/plugins/simple-block-animations/`
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. Select any block in Gutenberg
 4. Open the block settings panel
 5. Find the “Animations” section
 6. Enable animation and customize

## 常见问题

### Does it work with any theme?

Yes! The plugin works with any WordPress theme that supports Gutenberg.

### Does it slow down my site?

No. The plugin uses native CSS animations and Intersection Observer API. Assets 
only load on pages with animated blocks.

### Can I use it with page builders?

It’s designed for Gutenberg blocks. It won’t work with Elementor, Divi, or other
page builders.

### Can I set default animations for my custom blocks?

Yes! Developers can add animation attributes to their block.json file. Add `isAnimated`,`
animationType`, `animationDuration`, and `animationDelay` attributes with your desired
defaults. The plugin will respect these values, automatically enabling animations
when the block is inserted. Available animation types: fade-in, fade-in-up, fade-
in-down, fade-in-left, fade-in-right.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Simple Block Animations」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Valentin Grenier ](https://profiles.wordpress.org/valentingrenier/)

[帮助将「Simple Block Animations」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/simple-block-animations)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/simple-block-animations/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/simple-block-animations/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/simple-block-animations/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/simple-block-animations/)。

## 更新日志

#### 2.0.7

 * Prepared plugin for 7.0 version

#### 2.0.6

 * Prepared plugin for 7.0 version

#### 2.0.5

 * Prepared plugin for 7.0 version

#### 2.0.4

 * Prepared plugin for 7.0 version

#### 2.0.2

 * Updated documentation with “For developers” section regarding default animation
   attributes for custom blocks

#### 2.0.0

 * Respected pre-existing animation attributes from block.json to allow default 
   animations in custom blocks

#### 1.2.1

 * Update to version 1.2.1

#### 1.2.0

 * Update to version 1.2.0

#### 1.2.0

 * Added dynamic blocks support

#### 1.1.2

 * Added support for all block types

#### 1.1.1

 * Update to version 1.1.1

#### 1.0.0

 * Initial release
 * 5 animation types
 * Duration and delay controls
 * Support for core and Meta Box blocks

## 额外信息

 *  版本 **2.0.7**
 *  最后更新：**3 月前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.8 或更高版本 **
 *  已测试的最高版本为 **6.9.4**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/simple-block-animations/)
 * 标签
 * [animation](https://cn.wordpress.org/plugins/tags/animation/)[blocks](https://cn.wordpress.org/plugins/tags/blocks/)
   [effects](https://cn.wordpress.org/plugins/tags/effects/)[gutenberg](https://cn.wordpress.org/plugins/tags/gutenberg/)
   [scroll](https://cn.wordpress.org/plugins/tags/scroll/)
 *  [高级视图](https://cn.wordpress.org/plugins/simple-block-animations/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/simple-block-animations/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/simple-block-animations/reviews/)

## 贡献者

 *   [ Valentin Grenier ](https://profiles.wordpress.org/valentingrenier/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/simple-block-animations/)