Skip to content

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 builder

Blocks 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

PropTypeDefaultDescription
as"h1" | "h2""h2"The heading's level; the card titles are one level under it.
labelstring"Our programs"A small line over the heading; empty for none.
titlestring—The heading.
leadstring—At the right of the heading from 768px; empty for none.
filterbooleantruefalse: no pills (a category's own page).
allLabelstring"All programs"The first pill.
filterLabelstring—The pills' group name, for screen readers.
programs{ title, href, image, category, icon?, level?, duration? }[]9 programsThe 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.
actionLabelstring"See details"The words that rise in on a card.
pageSizenumber6Cards shown before the visitor scrolls; 0 shows every card.
loadAheadnumber500How far ahead of the window (px) the next page loads.
loadingLabelstring"Loading more programs"What the status says while more is loading.
emptyTextstring—Shown when a pill has no programs.
countText(count) => string—Announced when the list changes.
programs[].locationstring—card="place": the neighbourhood, before the city.
classNamestring—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.

Be the first to know

Get new templates and components first

One short email when we release a template or a free component. No spam — unsubscribe anytime.

We use your email only for Framebrick updates. Privacy policy