Hero 248 - Text card overlapping offset imagePro

An image occupies the first eight columns while a bordered content card starts at column seven and drops below it, overlapping the photo's corner.

About Hero 248

An image occupies the first eight columns while a bordered content card starts at column seven and drops below it, overlapping the photo's corner.

Hero 248 is a hero block for React and Tailwind CSS, included in Chocolate UI Pro. It ships as 85 lines of TypeScript you own: every piece of copy is a prop with a sensible default, so you can drop it in and replace the content without touching the layout.

  • asymmetric
  • overlap
  • card
  • grid
  • offset

Installation

  1. Set up your project with npx chocolateui init and npx chocolateui login (see the installation guide).
  2. Run the Chocolate UI CLI:
npx chocolateui add hero-248

Dependencies installed automatically: lucide-react.

Uses: button, reveal, utils.

Usage

import Hero248 from "@/components/blocks/hero-248"

export default function Page() {
  return <Hero248 />
}

FAQ