Hero
The Hero component is designed to grab attention immediately. It features an animated entrance, background blur effects, and clear calls to action.
Usage
import Hero from '~/components/sections/Hero.astro';
<Hero
badge="β¨ New Release 2.0"
title="Build Faster with"
highlight="Astro Components"
description="The ultimate boilerplate for your next project."
primaryCta={{ text: "Get Started", href: "/docs" }}
secondaryCta={{ text: "View GitHub", href: "https://github.com" }}
/>
Example
Next Gen Landing Pages
This is how the Hero component looks when rendered. It automatically handles responsiveness and animations.
We get too many WhatsApp and Instagram messages every day. I need the bot to answer for us.
MeaChat replies 24/7 on WhatsApp, Instagram, and your website using your own FAQs and flows.
Hi, I want to check my order status.
Your order is on the way π
Delivery today between 4β6 PM.
Reply 1 to change the time or 2 to talk to a human.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
badge | string | "β¨ ..." | Top label badge text. |
title | string | "Build Faster with" | Main headline text. |
highlight | string | "Premium Design" | Text to be highlighted (gradient/color). |
description | string | "A production-ready..." | Subtitle text description. |
primaryCta | { text: string, href: string } | { text: "Get Started", ... } | Primary button configuration. |
secondaryCta | { text: string, href: string } | { text: "View on GitHub", ... } | Secondary button configuration. |