Data displayFactStrip

Open in Create
Search
astronomic.dev

FactStrip

Free

A ruled strip of a listing's facts, such as beds, baths and square feet; a missing fact leaves no empty cell.

File
FactStrip.astro
Group
Data display
Kind
Static: no JavaScript
Examples
3
import FactStrip from "@astronomic-dev/ui/components/FactStrip.astro";

Examples

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

  • Static
  • Interactive
  • Framed

A listing's facts

Beds, baths, square feet and year built from the fields list, ruled above, below and between. Four even columns from 16rem; below that as many as fit, so a value is never cut.

main.astro

Long labels in a narrow strip

Longer terms, such as Bedrooms and Lot size, in a 16rem strip of four: a term wraps inside its cell, never past it.

long-labels.astro

Missing facts

No baths and no year on file: those cells are left out, with no empty cell and no gap.

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