Skip to content

Blaze

Fire along the bottom edge of a container.

$149 once · every Pro piece

Customize

Flames, a glowing ember bed and slow dark smoke come from one WebGL shader; heat distortion rises into the content above through an SVG displacement filter that fades out on its way up. It burns on its own and never reacts to the pointer.

Install

npx shadcn@latest add @obsyde/blaze

Needs your licence key · Get Pro

Usage

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

import { Blaze } from '@/components/obsyde/ember/blaze/Blaze';

export function Example() {
  return (
    <Blaze />
  );
}

Files

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

  • ember/blaze/Blaze.tsxcomponent
  • ember/blaze/blaze-demo.cssstyles
  • ember/blaze/blaze.cssstyles
  • ember/blaze/BlazeDemo.tsxdemo
  • ember/fire-kit/shimmer.tsxshared
  • ember/fire-kit/sparks.tsshared
  • ember/fire-kit/gl.tsshared
  • ember/shared/accent.tsshared
  • ember/shared/spring.tsshared
  • ember/shared/ember.cssshared

API

PropTypeDefault
accentAccent'ember' | 'volt' | 'arc''ember'
heightFlame heightnumber110
intensityIntensitynumber0.8
smokeSmokenumber0.6
distortionDistortionnumber0.6