A minimal footer design inspired by Dia browser .
Installation
Note: This footer is inspired by Dia Browser.
Usage
Available theme presets: dia-browser, ocean, amber, emerald, violet, rose.
How It Works
- Uses GSAP + ScrollTrigger to animate the footer on scroll.
- Uses SplitText to animate the copyright text line-by-line.
- Dynamically injects gradient colors into SVG
<linearGradient>stops. - Animates the SVG spectrum bars with scale and transform effects.
- Supports both preset themes and fully custom color overrides.
Scroll Animation Flow
- Footer enters viewport.
- SVG container fades in.
- Spectrum bars scale vertically (
scaleY) and settle. - Copyright text animates upward with blur fade-in.
- Uses
scrub: 1for smooth scroll-linked animation.
API Reference
Footer
| Prop | Type | Default |
|---|---|---|
theme? | 'dia-browser' | 'ocean' | 'amber' | 'emerald' | 'violet' | 'rose' | 'dia-browser' |
colors? | { text?: string; gradient?: string[] } | - |
copyrightText? | string | - |