Christmas Tree

InteractiveBones$4.99

A tree that sways by itself. Tap it and it shakes off its snow.

← PrevNext →
Live
Tap the tree

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 Tree() {
  const { rive, RiveComponent } = useRive({
    src: '/christmas-tree.riv',
    artboard: 'Tree',
    stateMachines: 'State Machine',
    autoplay: true,
    autoBind: true,
  });

  // every input on this page is a view model property
  const vm = rive?.viewModelInstance;
  if (vm) vm.boolean('lightsOn').value = true;

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

Inputs: lightsOn. All on the Tree view model.

More interactive

See all →