# daisyUI Documentation - Hero Component Hero is a component for displaying a large box or image with a title and description. ## Classes and Usage ### Core Classes: - **hero** - The main hero component - **hero-content** - Content container inside hero - **hero-overlay** - Overlay for hero background - **hero-center** - Centers content in hero - **hero-start** - Aligns content to start - **hero-end** - Aligns content to end - **hero-text** - Text content styling - **hero-image** - Image container styling ## Examples ### Basic Hero ```html

Welcome to daisyUI!

Providing useful component class names to help you write less code and build faster.

``` ### Hero with Image ```html

Your Title Here!

With the Hero component, you can easily create a large banner area with text and images.

``` ### Hero with Overlay ```html

Welcome!

This hero has an overlay to make the text more readable.

``` ### Hero with Background Image ```html

Background Image Hero

This hero uses a background image with overlay.

``` ## Features - Large banner area for showcasing content - Responsive design that works on all screen sizes - Can include images and text - Supports overlays for better readability - Flexible layout options (flex-col, lg:flex-row) - Customizable with Tailwind classes This component is useful for creating attention-grabbing introductory sections on websites.