# Image Hero A hero section with a full-bleed photograph behind a gradient: an eyebrow, a headline, supporting copy and calls to action. ## Installation ```bash npx shadcn@latest add litingyes/blocove/image-hero ``` The block is the shipped `Image` behind a gradient, so the copy stays legible over any photograph and the box keeps its ratio before the file arrives. Pass `priority` only when the hero is the first thing on the page; the image loads eagerly by default. ## Usage ### Use the block ```tsx import { ImageHero } from "@/components/blocove/image-hero" export function MissionHero() { return ( Read the mission} /> ) } ``` ## API Reference ### ImageHero A full-bleed photograph behind a gradient, with the eyebrow, headline, description and actions in the lower left corner. The image is a priority image by default. | Prop | Type | Default | | --- | --- | --- | | `src` | `string` | `Required` | | `alt` | `string` | `Required` | | `title` | `string` | `Required` | | `eyebrow` | `string` | - | | `description` | `string` | - | | `actions` | `ReactNode` | - | | `priority` | `boolean` | `true` | | `aspectRatio` | `number | string` | `'16 / 9'` | | `widths` | `readonly number[]` | - | | `transform` | `(src, width) => string` | `Identity` | | `sizes` | `string` | `'100vw'` | | `className` | `string` | - | ## Registry dependencies - `litingyes/blocove/image` - `badge` Namespace: `npx shadcn@latest add @blocove/image-hero`