Skip to main content

Camera Lens

A prime lens head-on: nine aperture blades open and close with the cursor, bokeh glows through the glass, and a click fires the shutter.

  • 6.3 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';

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

Inputs

InputTypeDefaultRange
nameTextLumen 50 f/1.2—
taglineTextEleven elements, nine rounded blades and a focus motor you will never hear.—
ctaTextPre-order · $1,899—
speedNumber10.1 – 3
accentText#e63b2ehex colour
bgText#09090ahex colour
textText#f0efechex colour

Events (via onTrigger): ctaClick