CoinRive Coin Flip Animation

InteractiveData BindingFree
Live
Tap the coin

A coin that flips when you tap it, with a little burst of sparks. Any colour.

Get the file

Runtime

.riv

Ready to use in your app or website.

Free

Editable

.rev + .riv

Open it in the Rive editor and change anything. The .riv is included.

Learn to build it

Full access

Build this yourself, step by step. Every file in the library is included.

Courses from $119

Own a course? Sign in and every file is yours.

Use it in your own products and client work. Please don't resell or share the files themselves.

Use it on your site

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

export function Coin() {
  const { rive, RiveComponent } = useRive({
    src: '/coin.riv',
    artboard: 'Coin',
    stateMachines: 'State Machine',
    autoplay: true,
    autoBind: true,
  });

  // every input on this page is a view model property
  const vm = rive?.viewModelInstance;
  if (vm) vm.color('coinColor').value = 0xFFF7B933;

  return <RiveComponent style={{ width: '100%', height: 400 }} />;
}

Inputs: collect, coinColor. All on the Coin view model.

More interactive

See all →