LayoutContainer

Open in Create
Search
astronomic.dev

Container

Free

To keep page content to a readable width with even side padding, centered on the page.

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

Examples

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

  • Static
  • Interactive
  • Framed

Page width

The content keeps to the size's width and the side padding.

main.astro

Sizes

sm suits a column of text; lg is a page.

sizes.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.