Publishing sectionsCaseHero

Open in Create
Search
astronomic.dev

CaseHero

Pro

At the top of a case study: the project's name, its client and year, an intro, the facts and a cover photo or video.

File
CaseHero.astro
Group
Publishing sections
Kind
Interactive: inline script
Examples
4
import CaseHero from "@astronomic/ui-pro/components/CaseHero.astro";

Examples

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

  • Static
  • Interactive
  • Framed

With a photo

Your breadcrumb, the title (the page's h1), the index line (read as markLabel), the client and year, the intro beside its label from a 48rem head, the facts on ruled columns, and the cover photo, loaded first (eager, high priority).

main.astro

With a video

video in place of image: a VideoMedia with preload="metadata", its poster the first paint. With no file yet (sources={[]}) the poster shows as a still.

video.astro

Mark at the title's end

markPlacement="end": the index line moves to the end of the title's row, level with its last line, and wraps under a title that fills the row. The client and year stay on the line below.

mark-end.astro

Six facts

The facts take two columns on a phone, three from a 42rem head and six from 64rem.

many-facts.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.