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
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
| Input | Type | Default | Range |
|---|---|---|---|
name | Text | Noir Ambré | — |
tagline | Text | Smoked vanilla, black amber and a trace of fig leaf. An eau de parfum for long evenings. | — |
cta | Text | Discover · 50 ml | — |
color | Text | #d98a3a | hex colour |
speed | Number | 1 | 0.1 – 3 |
accent | Text | #e7c27d | hex colour |
bg | Text | #0d0907 | hex colour |
text | Text | #f4ece0 | hex colour |
Events (via onTrigger): ctaClick