Pixel UI/Hero sections/Fire image hero

Fire image hero

A photo of fire, alive: the flames flicker, heat haze ripples above them.

<piix-hero>WebGL

A studio for loud ideas

Burn the old playbook.

Find out more

Give <piix-hero> any picture with image="…" and it keeps the picture exactly as it is, but brings it to life on the GPU: brighter parts sit nearer and shift with the pointer, glowing areas breathe and bloom, heat haze ripples over the hottest parts, the camera breathes slowly and a soft light sweeps across. Same effect on its own: <piix-image-fx effect="alive">.

Installation

<!-- once, anywhere on the page: every component -->
<script src="https://cdn.jsdelivr.net/npm/piixpal@0.6/piixpal.min.js"></script>

Usage

<piix-hero image="your-picture.jpg">
  <p class="eyebrow">A studio for loud ideas</p>
  <h1>Burn the old playbook.</h1>
  <piix-glow-button look="chrome">Find out more</piix-glow-button>
</piix-hero>

API reference

AttributeWhat it doesDefault
imageany picture (on your site, or served with CORS)–
palettetints the bloom and the light sweepsunset
heightany CSS lengthmin(88vh, 780px)
aligncenter or leftcenter

Accessibility