Skip to content
Sign inJoin waitlist

Fitbricks design system — Next.js

Everything here is content-free: components take data through props, and src/lib/to-ui.ts maps content items to those props. Import from @/design-system. Measured on https://fitbricks.framer.website (2026-11-05) at 390 / 810 / 1200 / 1512 / 1920; the numbers are in each component’s comment.

File What
theme.css Breakpoints md 810, lg 1200 · colours black, white, lime (#DBFF02), orange (#FD6934), danger, focus, spinner · easings ease-framer, ease-zoom, ease-spring, ease-spring-bounce (use with duration-400) · the ticker animation. Translucent colours are opacity modifiers: text-black/80 (body copy), bg-black/10 (card fill), bg-black/20 (rules), bg-black/60 (program veil), text-white/80 (footer links), bg-white/30 (Instagram chip). Category colours are content.
tokens/text.ts text.display (hero, 800, upper case), h1–h6, label, button (upper case, 3 %), large, body, small, caption — all Manrope; headings 1.2, paragraphs 1.4. Text that Framer measures as a block (labels, button words) must be a block element (block on a span).
tokens/motion.ts spring (bounce 0, 0.4 s — default in MotionProvider), springBounce (0.2), tween (0.4 s [0.44, 0, 0.56, 1]), pressSpring/pressScale, quoteInterval/quoteTween (hero quotes), heroRise/heroSpring/heroDelays (hero on load), textRise/textStagger/textDelays (text effect), appearFrom/appearSpring/appearAmount (scroll appear), tickerSpeed.

Layout: sections have gutters 15 / 20 / 30, padding 60 / 80 / 100 and an “Inner” column at most 1440 wide (it keeps growing above 1200 — use percentages and flex-1, never 1200-px widths). Corners: 10 cards and photos, 5 buttons and panels, 4 menu links, 50 pills.

Group Component Framer name · use
layout Section Section + “Inner”: inner lays out the column (default flex flex-col items-center gap-[50px]), padding replaces 60/80/100
layout TitleSection “Title Section”: layout="center" (title ≤ 350/400/500, text ≤ 450) or "split" (title flex-1 with heading ≤ 700 · description ≤ 400 with action; align center/end)
layout TitleBlock, SectionText “Title” (eyebrow + heading, 10 apart; as, headingClass, align) · body copy at 80 % black
brand Logo “Misc/Logo”: image (logo.light/dark/black from site.ts), 142 × 30 by default
brand Eyebrow “Misc/Label”: lime / white / black pill or simple
actions Button “Button/Primary”: orange / black / white / simpleWhite / simpleBlack; hover 90 % + arrow 2 px
actions TextLink “Secondary” (“Read more”): underline draws in, arrow nudges; hint adds hidden words (a card passes its title)
navigation NavButton “Button/Menu”: default / active / black / tint (“Black 10”, the city filter), orange on hover
navigation Hamburger “Misc/Hamburger” in its white box; label for the tablet’s “Menu”/“Close”
navigation CategoryLink “Card/Category Program”: small (filters; active black) / default (program sidebar); lime on hover
cards ClubCard “Card/Club” (400 tall, or height e.g. aspect-[0.915]; action rises on hover on desktops)
cards ProgramCard “Program” (300 tall, or height e.g. aspect-[7/6]; category symbol, level, duration; action rises on hover)
cards FeatureCard “Why Choose Us” cards, 525 tall: variant image / text (lime block)
cards InfoCard “Card/Goal”: photo 2:3 + title + text on black 10 %; padding (About’s cards: 15 on phones)
cards AppCard “Card/App”: phone screen + centred title and text
cards TestimonialCard “Testimonial” 320 × 500; quote on hover on desktops
cards PostCard “Post”: variant primary (photo 360:261 zooms on hover, meta, title, excerpt, “Read more”) / noDetails (no excerpt, no link) / secondary (112 × 84 row, title clipped at 45 px, zoom 102 %)
cards InstagramTile “Button/Image”: square photo + frosted handle chip (hover on desktops)
cards TrainerCard “Trainer”: portrait 0.64, name + role; the white summary panel rises in on hover on desktops (grid row + transform, no JS), shown on tablets and phones
cards ProgramLink “Card/Program Simple” (program sidebar): 64 × 44 photo + name; hover: lime, photo shrinks away, arrow
cards PricingCard “Card/Pricing”: name, description, price + period, “Includes:” and ticks, orange action
cards CardAction, riseTransition, riseDetails, coverFade, cardFill the white “See Details” pill; the hover-rise classes; the black photo fade; the pale card fill
data StoreBadges “Misc/App Link”: Google Play + App Store, large 142 × 48 / small 98 × 33
data CheckList lime-tick list (“Includes”, “What’s Included”)
patterns QuoteSlider “Misc/Testimonials Slide” (hero): rotates every 4 s, photo click selects
patterns LoadOnScroll, LoadSpinner CMS “load on scroll” (6 at a time, Framer “Spinner”; every item in <noscript>); pageSizeBelowDesktop for a smaller step below 1200 (/trainer: 6 / 4)
patterns Accordion “Accordions” (Contact FAQ): one row, toggles on its own (whole row clickable), Minus/Plus, height animates (spring 0.4 s)
patterns Ticker Framer Ticker: itemWidth, gap, speed, pauseOnHover
patterns Carousel Framer Carousel: scroll-snap row, mouse arrows on hover
patterns RichText, InlineText CMS rich text (paragraph, heading with level, list; **bold**, link); levelOffset shifts heading tags; headingClassByLevel a look per stored level; listClassName the list indent (program pages pl-5)
media YouTubeEmbed “YouTube”: thumbnail, player on click (program pages)
motion Appear appear effects: on="scroll" (18 px, half in view) or on="load" with delay
motion TextAppear text effect “appear”: by="word" or "line", delay
forms Form, FormField, FieldControl, RadioGroup, SubmitButton Framer form: fields 40 tall, black 5 % fill, black 10 % border, corners 5, padding 12; labels Small; submit black 40 tall
icons Icon, LevelIcon Phosphor paths in icons/paths.ts; the template’s dumbbell
utils CurrentYear, MotionProvider, cn, isExternalHref, externalLinkProps
  • No content imports here; no copy in components (labels come in as props).
  • cn joins classes, it does not merge them: pass spacing and widths as props or whole class strings.
  • Hover-only states use the lg: variants: tablets and phones show Framer’s “Mobile” variants (actions and quotes shown).
  • New component → its folder, index.ts, /style-guide, this table.