rive-interactive

Create interactive vector animations with Rive's state machine and ViewModel for React applications usingrive-library.

682|115|Updated Oct 25, 2025
One-click install
npx skills add https://github.com/freshtechbro/claudedesignskills --skill rive-interactive
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rive-interactive
Source: https://github.com/freshtechbro/claudedesignskills/tree/main/plugins/bundles/authoring-motion/skills/rive-interactive
Command: npx skills add https://github.com/freshtechbro/claudedesignskills --skill rive-interactive

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires rive-react, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill enables the creation and integration of complex, interactive vector animations directly into web applications, moving beyond simple timeline playback to incorporate logic and real-time data binding.

Core Features & Use Cases

  • State Machine Animation: Design animations with distinct states and transitions for dynamic user interfaces.
  • Two-Way Data Binding: Connect application data to animation properties (ViewModel API).
  • Input Handling: Control animations via user interactions (hover, click) or application logic.
  • Use Case: Build an animated button that visually responds to hover states, click events, and displays dynamic text content bound to user profile data.

Quick Start

Use the rive-interactive skill to create a basic animated button component in React.

Frequently Asked Questions about rive-interactive

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add interactive vector animations to a React application?

You can add interactive vector animations to a React application by using the rive-react library to integrate Rive's state machine and ViewModel capabilities for dynamic UI elements.

What is a state machine animation and how does it handle user input?

State machine animation designs vector graphics with distinct states and transitions. It handles user input by controlling animations via interactions like hover and click, or through application logic.

Can I bind real-time application data to Rive animation properties in React?

Yes, you can bind real-time application data to Rive animation properties using the ViewModel API. This two-way data binding connects application data directly to visual elements like dynamic text.

Do I need the rive-react library to build state machine animations for the web?

Yes, the rive-react library is required. It provides the necessary dependency for seamlessly integrating Rive's interactive vector graphics and complex animation logic into React web applications.

What is the best way to create an animated button that responds to hover and click events?

The best way is to use Rive's state machine capabilities within React. You can design distinct visual states and use input handling to control transitions based on hover and click events.