Motion Kit

Canvas

Specular Band

Animated specular band effect with lens distortion and hue-shifted color palettes. Creates flowing, organic light bands with adaptive blending for different background brightness levels.

  • lit
  • ogl

Preview

Animated specular band effect with lens distortion — flowing organic light bands with hue-shifted color palettes and adaptive brightness blending.
Attributes

Installation

pnpm dlx shadcn@latest add https://motion-kit-astro.vercel.app/r/specular-band.json

Usage

---
import "@/components/motion-kit/specular-band-element.ts";
---

<motion-specular-band
  color="#FF6900"
  background-color="#17181A"
  speed={1.0}
  distortion={0.2}
  hue-shift={30}
  intensity={1.0}
  class="w-full h-[500px]"
/>

API Reference

Attribute Type Default
color Base color of the specular bands. string #FF6900
background-color Color of the background. string #17181A
speed Animation speed multiplier. number 1.0
distortion Lens distortion intensity. number 0.2
hue-shift Amount of hue shift for secondary bands (in degrees). number 30.0
intensity Global intensity/brightness of the effect. number 1.0