Marketing sectionsTeamGrid

Open in Create
Search
astronomic.dev

TeamGrid

Free

To introduce the people behind the work, each with a large photo, name and role.

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

Examples

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

  • Static
  • Interactive
  • Framed

The studio

Six people on the open page, each a large 4:5 photo over the name and role. As many columns as fit, each at least 18rem: one on a phone, two from about 37rem, three in a wide row, so six people make two full rows. Two have no photo, so their initials show large in the same box and the row never breaks.

main.astro

In a narrow column

Four people in a 24rem column: one per row; a long name and role wrap inside the box when they need to, never past it.

narrow.astro

With their own pages

Three people, each with href: the name is the card's one link, stretched over the card, so a click on the photo opens the page too and the focus ring goes round the card. Their own links sit above it, still clicked and tabbed to on their own.

linked.astro

Your own images

Astro's <Image> draws each photo (imageComponent={Image}), with no wrapper; the kit draws the frame and passes a sizes hint for this layout. Astro writes a srcset when your astro.config sets image.layout. For EmDash or another CMS, see "Your own images" in the kit README.

own-images.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.