@crazygl/hero-waving-flag-headline
v0.1.1
Published
Waving Flag Headline — Your headline printed on a slow-waving cloth flag. The fabric ripples in 3D with soft cinematic lighting; the cursor pushes the cloth like a gust of wind. A customizable CrazyGL animated hero section — WebGL, React, drop-in.
Maintainers
Readme
Hero made by @ybouane.
@crazygl/hero-waving-flag-headline
Your headline printed on a slow-waving cloth flag. The fabric ripples in 3D with soft cinematic lighting; the cursor pushes the cloth like a gust of wind.
Demo
Install
npm install @crazygl/hero-waving-flag-headlineUsage
import WavingFlagHeadline from '@crazygl/hero-waving-flag-headline';
export default function Hero() {
return (
<WavingFlagHeadline
heading="CHAMPIONS NEVER REST"
fabricColor="#c8362e"
attachmentEdge="left"
/>
);
}Customise
- Content —
contentMode(text printed on the cloth, or anflagImagelogo),heading,subheading, and actaLabel/onCTAClick. - Flag —
flagWidth,flagHeight,attachmentEdge(left pole / top banner / free-floating). - Fabric —
fabricColor,textColor,materialMode(fabric / shiny / reflective) with per-mode roughness, sheen, clearcoat, HDRI and reflection knobs. - Wind —
windStrength,windSpeed,pointerWindStrength. - Lighting —
keyLightIntensity,fillLightIntensity,ambientIntensity. - Background —
bgTop/bgBottomgradient ortransparentBackground. - Typography —
headingFontFamily,headingFontWeight.
Best for
- Sports and athletic brands; fashion drops and streetwear.
- Music and event landing pages; bold campaign headlines.
- Team / community sites wanting a confident, kinetic statement.
This hero is part of CrazyGL, a collection of production-ready WebGL, canvas, 3D, and typography effects. Every CrazyGL hero ships with an agent-ready SKILL.md file that helps developers and coding agents adapt the effect into custom landing pages and interactive experiences.
