Marketing sectionsStats

Open in Create
Search
astronomic.dev

Stats

Free

To build your own stats layout: a few results as large numbers, each with a label and an optional line. For a ready layout, use StatsGrid or StatsCards.

File
Stats.astro
Group
Marketing sections
Kind
Static: no JavaScript
Examples
1
import Stats from "@astronomic-dev/ui/components/Stats.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 one list of stats, each a label and a large value with an optional line. The shell sets the type and the gaps; the recipes lay out the list and each stat. StatsGrid and StatsCards are recipes built on it.

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