# Rive

> Runtime for interactive Rive (.riv) animations with state machines, driven from code.

Source: https://tastebase.ehsanulsiam.workers.dev/browse/rive

freepaid

Runtime for interactive Rive (.riv) animations with state machines, driven from code.

by Rive[GitHub](https://github.com/rive-app/rive-react)[npm](https://npmjs.com/package/@rive-app/react-canvas)

[visit](https://rive.app/?utm_source=tastebase&utm_medium=referral&utm_content=detail-page)

[https://rive.app](https://rive.app/?utm_source=tastebase&utm_medium=referral&utm_content=detail-preview)

## Try these

no preview

### [dotLottie React](https://tastebase.ehsanulsiam.workers.dev/browse/dotlottie-react)

Player for Lottie (.json) and compressed .lottie animations exported from After Effects or Lottie Creator.

no preview

### [Motion](https://tastebase.ehsanulsiam.workers.dev/browse/motion)

The default animation library for React (formerly Framer Motion): springs, gestures, layout and exit animations.

no preview

### [Torph](https://tastebase.ehsanulsiam.workers.dev/browse/torph)

Animated text morphing: labels change letter by letter instead of swapping.

no preview

### [NumberFlow](https://tastebase.ehsanulsiam.workers.dev/browse/number-flow)

Animated number component: digits roll to the new value, formatted with Intl.NumberFormat.

## Looks that pick it

[Tactile 3D](https://tastebase.ehsanulsiam.workers.dev/looks/tactile-3d)[Kawaii](https://tastebase.ehsanulsiam.workers.dev/looks/kawaii)[Cartoon](https://tastebase.ehsanulsiam.workers.dev/looks/cartoon)

## For your agent

##### Install

`npm i @rive-app/react-canvas`

**Free + paid.** [from $9/seat/mo](https://rive.app/pricing?utm_source=tastebase&utm_medium=referral&utm_content=detail-page): Rive editor: free-plan exports play a Rive splash screen; the runtime is free

##### Use it for

- an interactive mascot or illustration that reacts to hover, input or app state (state machine inputs)
- animated onboarding or empty-state art designed in the Rive editor
- a toggle or like button with a hand-crafted multi-state animation

##### Skip it when

- simple UI transitions on DOM elements: use motion or CSS
- a looping illustration with no interactivity that a designer exported from After Effects: use dotlottie-react
- icons that only need a small hover wiggle: use an animated icon set
- nobody on the team will author .riv files: the runtime is useless without them

##### What's inside22 free

- Rive component
- useRive
- useRiveFile
- useStateMachineInput
- useResizeCanvas
- useViewModel
- useViewModelInstance
- useGlobalViewModelInstance
- useViewModelInstanceNumber / String / Boolean / Color / Enum / Trigger
- useViewModelInstanceImage / Font / List / Artboard
- Artboards
- Layout
- State Machine Playback
- Data Binding
- Loading Assets
- Fonts
- Semantics
- Focus
- Text and Key Input
- GPU Canvas
- Playing Audio
- Rendering to a Bitmap

##### Facts

**Frameworks**
react, vue, svelte, solid, angular, vanilla, react-native

**Styling**
unstyled

**Weight**
large

**Accessibility**
weak

**Maturity**
established

**License**
MIT

**Price**
Free core, from $9/seat/mo for more

##### Pairs with

[Motion](https://tastebase.ehsanulsiam.workers.dev/browse/motion)

##### Alternatives

[dotLottie React](https://tastebase.ehsanulsiam.workers.dev/browse/dotlottie-react)

```
import { useRive } from '@rive-app/react-canvas'

const { RiveComponent } = useRive({
  src: '/hero.riv',
  stateMachines: 'State Machine 1',
  autoplay: true,
})

<RiveComponent className="h-64 w-64" />
```

https://rive.app/marketplace/

This site doesn't allow being shown inside another page. Here is how it looks.

[Open in a new tab](https://rive.app/marketplace/?utm_source=tastebase&utm_medium=referral&utm_content=detail-preview)

[Visit](https://rive.app/?utm_source=tastebase&utm_medium=referral&utm_content=floating-pill)
