Shadcnblocks.com

Modern Hero

Heroes 191

About

Modern Hero

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

Code

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

Usage.tsx

import { Hero7 } from "@/components/blocks/modern-hero"

const demoData = {
  heading: "A Collection of Components Built With Shadcn & Tailwind",
  description:
    "Finely crafted components built with React, Tailwind and Shadcn UI. Developers can copy and paste these blocks directly into their project.",
  button: {
    text: "Discover all components",
    url: "https://www.shadcnblocks.com",
  },
  reviews: {
    count: 200,
    avatars: [
      {
        src: "https://cdn.21st.dev/assets/mirror/73/73c813328c18594c6611e7447cf0d3e3366abc0d3981fd35ff0410f6061e2ca3.webp",
        alt: "Avatar 1",
      },
      {
        src: "https://cdn.21st.dev/assets/mirror/89/893615e6bca2860106c155950a3db99e49127e9c19e64a9ae621828a60988739.webp",
        alt: "Avatar 2",
      },
      {
        src: "https://cdn.21st.dev/assets/mirror/95/95a8259ad5cc04bb0cd89b787a7de2395edf784650850bea6396e04f452dcb4b.webp",
        alt: "Avatar 3",
      },
      {
        src: "https://cdn.21st.dev/assets/mirror/5c/5c94210b75776a33f741eba0075a15921bde963af8161bba1470e9ebaed6137a.webp",
        alt: "Avatar 4",
      },
      {
        src: "https://cdn.21st.dev/assets/mirror/22/22ad291a3c4e3d708152bcaad90817523647a966daa76b18f017f66e58ca8cc4.webp",
        alt: "Avatar 5",
      },
    ],
  },
};

function Hero7Demo() {
  return <Hero7 {...demoData} />;
}

export { Hero7Demo };

Dependencies

More by Shadcnblocks.com

View all
  • Gallery with image cards

    Gallery with image cards

    3K
  • Hero 195

    Hero 195

    2.3K
  • Feature 108

    Feature 108

    1.3K
  • Navbar with Dropdowns

    Navbar with Dropdowns

    870
  • Gallery 6

    Gallery 6

    557
  • Footer 7

    Footer 7

    555
  • Feature 197

    Feature 197

    524
  • About 3

    About 3

    428

More in Heroes

View all
  • SaaS Template

    SaaS Template

    2.4K
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    930
  • Hero

    Hero

    1.2K
  • Responsive Hero Banner

    Responsive Hero Banner

    2K
  • Minimalist Hero Fashion

    Minimalist Hero Fashion

    285
  • Hero Section 6

    Hero Section 6

    881
  • Home Section

    Home Section

    66
  • Hero Golden Spiral

    Hero Golden Spiral

    101