Snow Globe

InteractiveScripting$4.99

Shake it and the snow whirls around whatever is inside. Tap to try.

← PrevNext →
Live
Tap the globe

Get the file

Runtime

.riv

Ready to use in your app or website.

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 SnowGlobe() {
  const { rive, RiveComponent } = useRive({
    src: '/snow-globe.riv',
    artboard: 'Snow Globe',
    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('shake').trigger();

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

Inputs: shake, snow. All on the SnowGlobe view model.

More interactive

See all →