Dhileep Kumar GM

GlassRefractionHero

Heroes 150

About

A fullscreen, glass-refraction style hero with animated blue gradient blobs, subtle vertical glass strips, staggered gradient title animation, description, and configurable primary/secondary CTAs. Designed for dramatic, immersive landing pages and product intros; supports children override for custom content.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds GlassRefractionHero to your project and fits it to your theme.

Code

How GlassRefractionHero is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import GlassRefractionHero from "@/components/ui/glass-refraction-hero";

const settings = {
  title: "Glass Refraction",
  description:
    "Experience the beauty of light bending through glass with our stunning refraction effects.",
  primaryLabel: "Get Started",
  secondaryLabel: "Learn More",
};

export default function Demo(props: Partial<typeof settings>) {
  const s = { ...settings, ...props };
  return (
    <div className="h-screen w-screen">
      <GlassRefractionHero
        title={s.title}
        description={s.description}
        primaryAction={{ label: s.primaryLabel, onClick: () => {} }}
        secondaryAction={{ label: s.secondaryLabel, onClick: () => {} }}
      />
    </div>
  );
}

Dependencies

More by Dhileep Kumar GM

View all
  • Aether Flow Hero

    Aether Flow Hero

    2K
  • Woven Light Hero

    Woven Light Hero

    1.6K
  • AnomalousMatterHero

    AnomalousMatterHero

    1.5K
  • PulseFit hero

    PulseFit hero

    974
  • Mountain Scene

    Mountain Scene

    879
  • HolographicCard

    HolographicCard

    835
  • 3D Animation

    3D Animation

    812
  • liquid  Shader

    liquid Shader

    573

More in Heroes

View all
  • Responsive Hero Banner

    Responsive Hero Banner

    2.2K
  • SaaS Template

    SaaS Template

    2.7K
  • Hero

    Hero

    1.3K
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    1.1K
  • Hero with group of images, text and two buttons

    Hero with group of images, text and two buttons

    440
  • Editorial Collage Hero

    Editorial Collage Hero

    501
  • Aero Hero-3

    Aero Hero-3

    614
  • Hero 03

    Hero 03

    373