Marketing sectionsFeatures

Open in Create
Search
astronomic.dev

Features

Free

To build your own features layout: a section heading and a list of features, each with a title and a short text. For a ready layout, use FeatureGridCards, FeatureGridIcons, FeatureGridSplit or FeatureRows.

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

Examples

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

  • Static
  • Interactive
  • Framed

Slots

The section is a shell: the eyebrow, the heading and the text always show in that order, then the list of FeatureItems in the default slot. The shell sets the type, the gaps and the reading width; the recipes lay out the header and the list. FeatureGridCards is a recipe built on it. childHeadingTag() in lib/heading.ts gives the items' title level.

main.astro

Without a heading

Your own heading above the list. The list's columns still follow the room it has: three in a wide column, one in a 24rem column on the same page.

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