LayoutStack

Open in Create
Search
astronomic.dev

Stack

Free

To set blocks one under another with even space between them, like a heading, a text and a button.

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

Examples

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

  • Static
  • Interactive
  • Framed

A heading, a text and an action

Have a project in mind?

Tell us what you need and when. We answer within two business days.

Get in touch
Force state
main.astro

Gaps

item for close pairs, blocks between blocks, section between groups.

gap="item"

Second

Third

gap="blocks"

Second

Third

gap="section"

Second

Third

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