Data displayListingCardInset

Open in Create
Search
astronomic.dev

ListingCardInset

Free

For homes or places in a grid: the photo inset in a card, with the price and the facts under it.

File
ListingCardInset.astro
Group
Data display
Kind
Interactive: inline script
Examples
4
import ListingCardInset from "@astronomic-dev/ui/components/ListingCardInset.astro";

Examples

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

  • Static
  • Interactive
  • Framed

A home for sale

The photo inset in the card, the status and Save on it, then the price, the title, the address, the facts and the foot line. A ring on hover, and the photo zooms a little where motion is allowed.

main.astro

A rental

A rent shows "/mo" in a quieter span after the amount; the foot line starts with the move-in date.

rental.astro

A long title and address

A long word in the title breaks inside the card, and the address wraps, so nothing runs out at 320px.

long-title.astro

A grid of homes

Under a section heading, in auto-fit columns: one at 320 and 390, two from about 40rem, three from about 60rem. The first home is in twice, so its two Save buttons flip together.

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