Gingerbread House
InteractiveData Binding$4.99Get the file
Runtime
.rivReady to use in your app or website.
$4.99
Editable
.rev + .rivOpen it in the Rive editor and change anything. The .riv is included.
$9.99

Learn to build it
Full accessBuild 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 GingerbreadHouse() {
const { rive, RiveComponent } = useRive({
src: '/gingerbread-house.riv',
artboard: 'Gingerbread House',
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('lightColor').value = 0xFFFDC947;
return <RiveComponent style={{ width: '100%', height: 400 }} />;
}Inputs: lightsOn, lightColor. All on the GingerbreadHouse view model.
How it's built
A gingerbread house with candy canes, gumdrops and a snowy roof. Tap it and it hops, the snow on the roof settles, the gumdrops jiggle late, the door peeks open and the chimney puffs. Tap again to switch the windows off. You pick the colour of the light.
- 1Everything follows the hopThe house jumps first. The roof snow, the gumdrops and the door each start a few frames after it, so the whole thing feels soft.
- 2The windows are one booleanlightsOn turns the rooms on with a short flicker. A tap flips it, and your app can set it too.
- 3The light is one colourlightColor drives the windows, so the house can glow warm, cold or any colour you want.