Publishing sectionsCaseSection

Open in Create
Search
astronomic.dev

CaseSection

Pro

For one part of a case study, such as the brief or the results: a small label that stays in view beside the text, and a photo after it.

File
CaseSection.astro
Group
Publishing sections
Kind
Static: no JavaScript
Examples
2
import CaseSection from "@astronomic/ui-pro/components/CaseSection.astro";

Examples

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

  • Static
  • Interactive
  • Framed

Label and text

From a 48rem section the label sits in a start column a quarter wide and stays in view under a sticky Navbar while the text scrolls past; below that it sits above the text. The lead is a large opening line; your text goes in the default slot (a Prose block reads well).

main.astro

With a photo

The media slot (a photo, a CaseGallery or a VideoMedia) runs the full width after the label and the text.

with-media.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.