Skip to main content

Wave CTA

A button that fills with liquid on hover. The surface tilts toward the cursor, sloshes when you leave, and a click sends a ripple.

  • 4 KB .bexode
  • 7 live inputs
  • Responsive fit Layout
Live runtime

Use it

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

import { ExodeUICanvas } from 'exodeui';

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

Inputs

InputTypeDefaultRange
labelTextStart building—
waveNumber10 – 3
speedNumber10.1 – 3
radiusNumber10 – 1
accentText#c8ff5ahex colour
textText#f2f5eahex colour
bgText#0a0c08hex colour

Events (via onTrigger): click