Marketing sectionsStatsGrid

Open in Create
Search
astronomic.dev

StatsGrid

Free

To show a few results as large numbers on the open page, each under a hairline.

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

Examples

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

  • Static
  • Interactive
  • Framed

Results

An open grid on the page, a hairline above each stat. As many columns as fit, each at least 9rem: one on a 320px phone, two from about a 370px phone, four on a wide page.

main.astro

In a narrow column

The same stats full width and in a 24rem column. Each value sizes to its own stat, so it is smaller in the column; the long value stays on one line, never split mid-number, and fits its stat.

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