Marketing sectionsHeroCover

Open in Create
Search
astronomic.dev

HeroCover

Free

At the top of a page, for the main heading, one line on what you offer and one or two actions, on a full image.

File
HeroCover.astro
Group
Marketing sections
Kind
Static: no JavaScript
Examples
3
import HeroCover from "@astronomic-dev/ui/components/HeroCover.astro";

Examples

Drag the orange handle to set the width. Frames get real breakpoints.

  • Static
  • Interactive
  • Framed

Studio home page

Edge to edge: placed outside the Container, the image fills the page's width. The text sits at the foot, on the scrim.

main.astro

Framed, in a Container

With framed, the card corners; inside a Container it keeps the page's width.

framed.astro

Your own images

Astro's <Image> draws the photo (imageComponent={Image}), with no wrapper, and gets sizes="100vw". Astro writes a srcset when your astro.config sets image.layout. For EmDash or another CMS, see "Your own images" in the kit README.

image-component.astro
Minimal · Light

Waitlist

Be first in line

Join the waitlist and we'll email you the moment it's out.

You'll also get our newsletter: new themes, plugins and guides. Unsubscribe any time.