Features & services
Programs Grid
A gym's classes: a heading beside a line, category pills with icons that filter the list, and photo cards that load more as you scroll.
Layout and motion from the Fitbricks template — see it in contextTry it in the page builderBlocks come with Pro and Ultimate
Preview every block now, in any theme and at any width. The source, the install command and your registry token come with a Pro or Ultimate plan.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| as | "h1" | "h2" | "h2" | The heading's level; the card titles are one level under it. |
| label | string | "Our programs" | A small line over the heading; empty for none. |
| title | string | — | The heading. |
| lead | string | — | At the right of the heading from 768px; empty for none. |
| filter | boolean | true | false: no pills (a category's own page). |
| allLabel | string | "All programs" | The first pill. |
| filterLabel | string | — | The pills' group name, for screen readers. |
| programs | { title, href, image, category, icon?, level?, duration? }[] | 9 programs | The cards; category makes the pills; icon is dumbbell, heart, lotus, flame, run or bike (the first program's icon stands for its category). |
| card | "program" | "place" | "program" | place (Fitbricks' clubs): a 400px card with a map pin and "{location} - {category}" over the name; the pills are then cities. Give programs[].location. |
| actionLabel | string | "See details" | The words that rise in on a card. |
| pageSize | number | 6 | Cards shown before the visitor scrolls; 0 shows every card. |
| loadAhead | number | 500 | How far ahead of the window (px) the next page loads. |
| loadingLabel | string | "Loading more programs" | What the status says while more is loading. |
| emptyText | string | — | Shown when a pill has no programs. |
| countText | (count) => string | — | Announced when the list changes. |
| programs[].location | string | — | card="place": the neighbourhood, before the city. |
| className | string | — | Classes for the <section>. |
- A pill filters at once (aria-pressed) and goes back to the first page. The next page comes as the list's foot nears the window, a turning ring in its place; without script every card is in the page.
- From 1024px "See details" rises in from under the card while it is pointed at or focused and pushes the text up (Fitbricks' spring bounce 0, 0.4s → 400ms); below 1024px it is always shown. Nothing moves with reduced motion.
- Dropped from Fitbricks: its colour per category (every symbol takes the primary colour), lime eyebrow, fonts and icon files.











