Earbuds
A glossy charging case whose lid swings open to lift two earbuds out on rings of sound. Click to open or close.
- 6.3 KB .bexode
- 8 live inputs
- Responsive fit Layout
Use it
The code follows your customizations. Install with npm i exodeui.
import { ExodeUICanvas } from 'exodeui';
// earbuds.bexode goes in /public (download it below)
export function Earbuds() {
return (
<ExodeUICanvas
src="/earbuds.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 | Aura Buds Pro | — |
tagline | Text | Silence the city. Hear every breath of the music. Up to 36 hours in a case that fits a coin pocket. | — |
cta | Text | Pre-order · $249 | — |
color | Text | #f1f0ec | hex colour |
speed | Number | 1 | 0.1 – 3 |
accent | Text | #7ce0c3 | hex colour |
bg | Text | #0a0b0d | hex colour |
text | Text | #f2f3f5 | hex colour |
Events (via onTrigger): ctaClick