Sale Badge

Sale & PromoData BindingFree

A sale badge that stamps down with snow on top. Your number, your colours.

← PrevNext →
Live
Tap the badge

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.

Free

Learn to build it

Full access

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

Courses from $119

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 SaleBadge() {
  const { rive, RiveComponent } = useRive({
    src: '/sale-badge.riv',
    artboard: 'Sale Badge',
    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('badgeColor').value = 0xFFE7363F;

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

Inputs: percent, badgeColor, textColor. All on the SaleBadge view model.

More sale & promo

See all →