Ember Chest

GamesData BindingFree

A black spiked chest with glowing lava cracks. Tap to open.

← PrevNext →
Live
Tap the chest

Get the file

Runtime

.riv

Ready to use in your app or website.

Free

Editable

.rev

Open it in the Rive editor and change anything.

Learn to build it

Full access

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

Courses from $119

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

Use it on your site

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

export function Chest() {
  const { rive, RiveComponent } = useRive({
    src: '/treasure-chest-ember.riv',
    artboard: 'Chest',
    stateMachines: 'State Machine',
    autoplay: true,
    autoBind: true,
  });

  // every input on this page is a view model property
  const vm = rive?.viewModelInstance;
  if (vm) vm.trigger('toggle').trigger();

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

Inputs: toggle, woodColor, metalColor, lavaColor, coinColor, gemColor, glowColor. All on the Chest view model.

More games

See all →