Skip to content

MSCG/wp-rive-block

Repository files navigation

MSCG Rive

Embed Rive animations into your WordPress site with ease.

Description

This plugin provides a dedicated Gutenberg block for embedding Rive animations.

Features

  • Media Library Integration: Upload and select rive files directly from the WordPress Media Library.
  • Live Preview: See your Rive animations playing directly within the Gutenberg editor.
  • Custom Dimensions: Control the width and height of the animation canvas.
  • Multiple Instances: Add multiple blocks to a page, each with its own configuration.
  • Artboard Selection: Optionally specify which artboard to play.

Installation

  1. Upload the plugin files to the /wp-content/plugins/mscg-rive directory, or install through the WordPress "Plugins" screen.
  2. Activate the plugin.
  3. Add the Rive Player block in the editor.

Development

This block is built using the standard WordPress block development tools.

NPM Commands

  • npm start: Starts the build process for development.
  • npm run build: Builds the production-ready code.

About

Embed Rive animations into your WordPress site with ease.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Contributors