Skip to content

Heat Haze

Wraps any element and heats the air above it.

$149 once · every Pro piece

Customize

The content is never touched: it stays crisp, selectable and clickable. While active a soft light rises off the top edge and breaks into thin wavering columns, like a road shimmering in summer; the top hairline glows hottest under the warmest point, which drifts on its own and leans toward the pointer. A few embers lift off the edge and cool as they rise. The air is drawn in an overhang (`rise`) that never shifts layout, and at rest the loop stops and nothing is drawn.

Install

npx shadcn@latest add @obsyde/heat-haze

Needs your licence key · Get Pro

Usage

Import it from where the CLI puts it, or copy the files below by hand.

import { HeatHaze } from '@/components/obsyde/ember/heat-haze/HeatHaze';

export function Example() {
  return (
    <HeatHaze trigger="hover" />
  );
}

Files

What you get with Pro: plain React, TypeScript and CSS, with no dependencies.

  • ember/heat-haze/HeatHaze.tsxcomponent
  • ember/heat-haze/heat-haze-demo.cssstyles
  • ember/heat-haze/heat-haze.cssstyles
  • ember/heat-haze/HeatHazeDemo.tsxdemo
  • ember/shared/accent.tsshared
  • ember/shared/spring.tsshared
  • ember/shared/ember.cssshared

API

PropTypeDefault
accentAccent'ember' | 'volt' | 'arc''ember'
triggerTrigger'hover' | 'always' | 'manual''hover'
activeActivebooleanfalse
intensityIntensitynumber0.6
sparksSparksbooleantrue
riseRisenumber72