Skip to content
tastebase

tastebase

Sign in

Your agent gets your look, hearts and dislikes in every project. Folders follow you to every device.

We keep the name, avatar and email your provider shares. Nothing else.

Rive

freepaid

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

by Rive GitHub npm
visit
Rive website

Try these

dotLottie React

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

Motion

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

Torph

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

NumberFlow

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

Looks that pick it

For your agent

Install
npm i @rive-app/react-canvas

Free + paid. from $9/seat/mo: 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
Alternatives
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" />
Visit