LayoutSplit

Open in Create
Search
astronomic.dev

Split

Free

To set two blocks side by side, like a text and an image, stacked when there is no room.

File
Split.astro
Group
Layout
Kind
Static: no JavaScript
Examples
2
import Split from "@astronomic-dev/ui/components/Split.astro";

Examples

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

  • Static
  • Interactive
  • Framed

Text and an image

Side by side while the Split is at least 40rem wide, stacked below that.

A studio of four

We work with a few clients at a time, from the first idea to the launch, and stay on to help after.

Plates and bowls on white shelves in the studio.
Force state
main.astro

Reversed

reverse puts the second child first when side by side; stacked, the source order stays.

First in the source: shown on the right

Second in the source: shown on the left

Force state
reverse.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.