Trash ActionRive Animated Icon

UI ElementsData BindingIn a set
Live
Tap to play

Tap to delete. The lid flips open, a paper ball drops inside and the lid slams shut.

Get the file

This one comes with the Rive Game UI Kit: all 28 icons, the .riv and the .rev of each.

The whole set

.rev + .riv

All 28 files in one zip. Open the .rev in the Rive editor and change anything, or use the .riv as it is.

Use it on your site

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

export function ActionTrash() {
  const { rive, RiveComponent } = useRive({
    src: '/action-trash.riv',
    artboard: 'Action Trash',
    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('color').value = 0xFFE94C58;

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

Inputs: play, color. All on the ActionTrash view model.

Also in these sets

More ui elements

See all →