Jessi

Hero section with smooth bg Shader

Heroes 1.3K

About

Hero section with smooth Shader and data passing using props

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

Code

How Hero section with smooth bg Shader is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { HeroSection } from "@/components/ui/hero-section-with-smooth-bg-shader";

const settings = {
  distortion: 1.2,
  speed: 0.8,
  colors: ["#ff6b6b", "#4ecdc4", "#45b7d1"],
};

export default function DemoOne(props: Partial<typeof settings>) {
  const s = { ...settings, ...props };
  return <HeroSection distortion={s.distortion} speed={s.speed} />;
}

/*
Usage examples:

// Basic usage with defaults
<HeroSection />

// Custom content
<HeroSection 
  title="Revolutionary AI Solutions for"
  highlightText="Modern Business"
  description="Streamline operations with cutting-edge AI technology"
  buttonText="Get Started"
  onButtonClick={() => console.log('Button clicked!')}
/>

// Custom colors and animation
<HeroSection 
  colors={s.colors}
  distortion={1.2}
  speed={0.8}
/>


*/

Dependencies

More by Jessi

View all
  • Wireframe Dotted Globe

    Wireframe Dotted Globe

    3.5K
  • 3D Gallery Photography

    3D Gallery Photography

    3.4K
  • Animate Card Animation

    Animate Card Animation

    2.4K
  • The Infinite Grid

    The Infinite Grid

    1.9K
  • Hero Dithering Card

    Hero Dithering Card

    1.7K
  • 3D Image gallery

    3D Image gallery

    1.4K
  • Stacked Panels Cursor intereactive component

    Stacked Panels Cursor intereactive component

    1.2K
  • Feature Shader Cards

    Feature Shader Cards

    1K

More in Heroes

View all
  • SaaS Template

    SaaS Template

    2.7K
  • Responsive Hero Banner

    Responsive Hero Banner

    2.2K
  • Editorial Collage Hero

    Editorial Collage Hero

    504
  • Aero Hero-3

    Aero Hero-3

    615
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    1.1K
  • Hero

    Hero

    1.3K
  • Hero 03

    Hero 03

    375
  • Hero with group of images, text and two buttons

    Hero with group of images, text and two buttons

    441