8000 GitHub - pengx17/rive-playground
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

pengx17/rive-playground

Repository files navigation

Rive Playground

A React application for interactive testing and visualization of Rive animations. This playground allows you to upload, view, and interact with Rive animations directly in the browser.

Features

  • Upload and view Rive animation files
  • Inspect animation structure, artboards, state machines, and inputs
  • Play and control animations
  • Test state machine interactions
  • Responsive layout with modern UI

Tech Stack

  • React 19
  • TypeScript
  • Vite
  • Tailwind CSS
  • Shadcn UI components
  • Rive React Canvas library

Getting Started

Prerequisites

  • Node.js (LTS version recommended)
  • pnpm

Installation

  1. Clone the repository
git clone https://github.com/yourusername/rive-playground.git
cd rive-playground
  1. Install dependencies
pnpm install
  1. Start the development server
pnpm dev
  1. Open your browser and navigate to http://localhost:5173

Usage

  1. Upload a Rive animation file (.riv)
  2. The playground will display the animation
  3. Explore artboards, animations, and state machines
  4. Test inputs and interactions with the animation

Building for Production

pnpm build

The build artifacts will be stored in the dist/ directory.

License

This project is open source under the MIT license.

Acknowledgements

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0