Skip to main content

Perfume

A heavy glass flacon with a gold cap, sloshing amber juice, a light sweep and caustics on the floor. Click to spray a mist.

  • 6.2 KB .bexode
  • 8 live inputs
  • Responsive fit Layout
Live runtime

Use it

The code follows your customizations. Install with npm i exodeui.

import { ExodeUICanvas } from 'exodeui';

// perfume.bexode goes in /public (download it below)
export function Perfume() {
  return (
    <ExodeUICanvas
      src="/perfume.bexode"
      fit="Layout"   // responsive: redraws at any container size
      autoPlay
      interactive
      onTrigger={(name) => {
        // fires: 'ctaClick'
      }}
      style={{ width: '100%', height: 560 }}
    />
  );
}

Inputs

InputTypeDefaultRange
nameTextNoir Ambré—
taglineTextSmoked vanilla, black amber and a trace of fig leaf. An eau de parfum for long evenings.—
ctaTextDiscover · 50 ml—
colorText#d98a3ahex colour
speedNumber10.1 – 3
accentText#e7c27dhex colour
bgText#0d0907hex colour
textText#f4ece0hex colour

Events (via onTrigger): ctaClick