Dhileep Kumar GM

GlassRefractionHero

Heroes 158

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.7K
  • AnomalousMatterHero

    AnomalousMatterHero

    1.5K
  • PulseFit hero

    PulseFit hero

    1K
  • Mountain Scene

    Mountain Scene

    889
  • HolographicCard

    HolographicCard

    842
  • 3D Animation

    3D Animation

    832
  • Premium Auth

    Premium Auth

    615

More in Heroes

View all
  • Agency Hero Section

    Agency Hero Section

    1.1K
  • Real Estate 3D Hero

    Real Estate 3D Hero

    89
  • Responsive Hero Banner

    Responsive Hero Banner

    2.2K
  • SaaS Template

    SaaS Template

    2.8K
  • AI SaaS Workflow Hero

    AI SaaS Workflow Hero

    37
  • App Integration Celestial Hero

    App Integration Celestial Hero

    17
  • Chroma Sense Hero

    Chroma Sense Hero

    23
  • Hero

    Hero

    1.4K