Flux Hero
A landing-page hero with a headline, two buttons and a dashboard preview that tilts toward your cursor.
- 5.7 KB .bexode
- 9 live inputs
- Responsive fit Layout
Use it
The code follows your customizations. Install with npm i exodeui.
import { ExodeUICanvas } from 'exodeui';
// flux-hero.bexode goes in /public (download it below)
export function FluxHero() {
return (
<ExodeUICanvas
src="/flux-hero.bexode"
fit="Layout" // responsive: redraws at any container size
autoPlay
interactive
onTrigger={(name) => {
// fires: 'primaryClick', 'secondaryClick'
}}
style={{ width: '100%', height: 560 }}
/>
);
}Inputs
| Input | Type | Default | Range |
|---|---|---|---|
badge | Text | ✦ NEW · TEAM SPACES | — |
headline | Text | Plan the week. Ship the work. | — |
sub | Text | Plan, track and ship your work in one place. Built for small teams that move fast. | — |
primaryCta | Text | Start free | — |
secondaryCta | Text | See how it works | — |
palette | Number | 0 | 0 – 4 |
speed | Number | 1 | 0.1 – 4 |
glow | Number | 1 | 0 – 2 |
accent | Text | #2868ff | hex colour |
Events (via onTrigger): primaryClicksecondaryClick