Working with Fab Fudge
Instructions
A practical reference for changing Fab’s native pages, shared components and motion while keeping their behavior intact.
Understand what is shared
Use the main Home page as the layout directory. The original animated demo is Home 01; Home 02 and Home 03 are independent demonstrations. Leave each page's code attached to that page. On the directory, .fab-index-flip is a native Slider that cuts between eight screenshots with duration zero. A scoped GSAP clock advances it every 0.7 seconds, and .fab-index-flip-toggle controls pause and resume. Playback stops for reduced motion, keyboard focus inside the slider, hidden tabs and an offscreen slider. Removing only that scoped footer leaves manual native navigation available.
Reuse the existing Fab Fudge Dark Hero Navigation or Fab Fudge Light Hero Navigation, Fab Fudge Product Menu and Fab Fudge Footer components; keep one header per page. Both header variants use the shared smoked-glass surface. The contrast controller reads that surface before section tone markers, so the white FF mark remains legible on the dark glass. Retain intentional instance properties and edit shared wording in the component definition. Fab Fudge Story Call To Action is the reusable native GET TO KNOW FAB pill used on Home 1; it retains the About page-ID link, .fab-site-light-button styling and separate decorative .fab-button-arrow. Edit this component for the shared story CTA and retain its arrow and native destination.
The shared .fab-site-nav stays at its native 94% viewport width at every scroll position; shrink-on-scroll has been removed. Collections and About remain visible on the left, the FF mark stays centered, and Flavors opens the menu on the right. Its 22px corner radius and Header Offset spacing remain native styles. Edit the shared component and native breakpoint styles together, checking link and logo fit on small screens. No compact-header controller needs to be maintained. Native page-ID links survive folder moves; review literal paths and hash links separately.
Work with native elements
Choose replacement images in the native Image asset picker. Keep the intended crop, object-fit, aspect ratio and responsive treatment, and describe informative images in alt text. Intentionally decorative images can retain empty alt text. The directory thumbnails are screenshots of the demos, so capture them again when a demo’s appearance changes.
A gallery should retain its native Slider, Mask, Slides, arrows and navigation. Add Slides within the existing Mask rather than nesting another slider or substituting an overflow rail. At every breakpoint, navigate through the whole gallery and confirm each slide is fully reachable, including the final one. Home 03 Tabs also require their native links and panes to remain paired.
Collections 3 keeps native Slider, Mask, Slides, arrows and dots. Its page Footer now adds the “Collection 3: native Slider navigation with a GSAP image/panel wipe” block. It observes the active native dot and reveals the newly selected .fab-col3-feature inside .fab-col3-slider with a directional clipPath wipe. The native Slider remains responsible for slide selection.
When editing a contact form, update the visible field label and accessible name together. Retain useful field names, required flags, email input types, native submit controls and both result messages. A plain link cannot replace a submit button. Test validation without sending an inquiry, then confirm the intended notification and integration setup before publication.
Keep the visual system coherent
Set display headings and text CTA labels in Instrument Serif, and paragraphs in Manrope. Headings use sentence case. Text CTAs use uppercase wording, pill corners and one separate northeast arrow carrying fab-button-arrow. Preserve functional icons for menus, search and gallery controls.
The base tokens are Fab Heading Font, Fab Body Font, Fab Blue, Fab Cream, Fab Ink and Fab Pink. The base collection also has Tablet, Mobile Landscape and Mobile Portrait modes. Header Offset controls the native navigation’s top position: 24px on desktop/tablet and 16px on mobile. Change shared tokens deliberately and inspect every reference. Native classes and breakpoint styles control layout, typography, fills and crops; scripts reveal or move those native elements.
A product layout is not evidence of a working store. Keep destination links meaningful, and configure any intended pricing, cart, checkout or subscription behavior deliberately before presenting it as operational.
Write metadata for each journal item
Each of the seven sample articles has its own SEO title and SEO description fields. The CMS template reads those fields through native bindings. Change the item’s values rather than replacing the template’s bindings with a single fixed title or description.
For each article, write a distinct SEO title under 60 characters and a useful SEO description of 150–160 characters that describes the actual article. These lengths are a practical target, not a search-ranking rule.
Open Graph wording follows the SEO fields. The template uses one shared Fab JPEG social preview. If you replace it, use a relevant JPEG or PNG at least 1200 × 630 pixels. Review several article previews after you change a field or binding.
How to Edit GSAP Animations
Find page motion under Page settings → Custom code → Before </body>; shared motion is under Site settings → Custom code → Footer. GSAP and ScrollTrigger are enabled through Webflow. Home 01 also requests Draggable from Webflow’s GSAP CDN. Keep one copy of each dependency. The homepage has no animation Embed to edit.
Use the selector reference below when changing the saved scripts. Classes and data attributes are code dependencies. duration and delay are measured in seconds; ease sets the motion curve. In ScrollTrigger, start: "top 85%" begins when the element’s top reaches 85% down the viewport. end sets the opposite boundary, and scrub ties progress to scroll position.
Home 01 uses scrollTrigger: { id: "fab-site-stack", trigger: section, start: "top top", end: () => "+=" + innerHeight * (cards.length - 1), pin: true, scrub: 1 }. Its product transitions use duration: .8. Adjust one setting, then check wide and narrow screens, repeated input and reduced motion before changing another.
The shared menu curtain
The shared menu coordinates the curtain, item entrances, Escape, outside-click dismissal and focus return. Targets are .fab-site-nav, .fab-site-shop, .fab-site-menu-overlay, .fab-site-menu-card, .fab-site-menu-all, .fab-site-menu-image, .fab-ff-header-logo and .fab-ff-header-logo-white. An opaque or smoked header keeps its surface-based logo contrast during menu travel; logo clipping is used only when the header surface is transparent. If made transparent, data-fab-logo-tone="dark" or "light" on native sections supplies the fallback contrast. The menu overlay has 22px top corners and uses Header Offset for top alignment; the menu caption has no bottom separator. In the shared menu block, fadeHeaderBorder hides all four header border colors and the inset rim over .16 seconds on open, then restores their original values on close; reduced motion applies this immediately. Adjust both open and close calls together. To remove this border transition, remove the helper and its calls, then reload Preview so native border styles are restored.
The curtain’s base duration is 1.6 seconds. Applying timeScale(2) to the complete timeline makes the effective travel about 0.8 seconds in either direction; item durations .48 and .55 scale with it. Change the timeline speed as a unit so the header and overlay stay synchronized.
FLAVORS opens the shared menu when its enhancement is available; its native fallback points to /product-collections/collections. The five menu flavor links and Product Collection card CTAs lead to /sub-pages/product-landing-page. Browse the range leads to the collection. Existing data-product-index values remain, but the menu controller only attempts an in-page stack jump when the destination pathname matches the current page.
To retire the menu enhancement, remove its shared GSAP block and Product Menu instances while retaining the native FLAVORS collection link. Reload Preview to clear old listeners and inline state. Other page effects still need their GSAP dependencies. Recheck keyboard focus and logo contrast afterward.
Home 01 motion map
The hero entrance spans Home 01's page head style and footer script. .fab-site-hero-video expands for 1.7 seconds with power3.inOut; .fab-site-hero-panel rises for 1 second from timeline position 1; .fab-site-nav enters for .8 seconds from 1.2. The head style hides these elements until the footer script adds fab-hero-released, or until a seven-second fail-safe shows them. Remove the head style and the hero script together if you retire this entrance.
The desktop pinned stack uses .fab-site-products, .fab-site-product, .fab-product-layer and .fab-product-nav with ScrollTrigger id fab-site-stack. Separate effects target .fab-site-development-motion and .fab-site-newsletter .fab-site-panel. Within .fab-site-story, .fab-ui-about-image-02, .fab-ui-about-image-03 and .fab-ui-about-image-04 travel at different rates with scrub: .7.
Benefits movement targets .fab-benefits-title, .fab-benefit-inner, .fab-benefits-floater and .fab-benefits-cta. The existing shop interaction is .fab-shop-slider with .fab-shop-viewport, .fab-shop-track, .fab-shop-card, .fab-shop-prev, .fab-shop-next and .fab-shop-status. Draggable travel uses duration: .55 and power3.out; preserve ResizeObserver measurements and offscreen-card accessibility. Hover or focus on .fab-ui-product-bg and .fab-shop-card reveals [data-fab-glow] or .fab-shop-gradient.
Home 01’s existing shop track is custom Draggable behavior rather than a native Slider. Preserve that original demo, while using native Sliders for newly built galleries. Before removing a pinned or draggable interaction, place every card in visible normal flow and remove effect-owned clipping and overlapping positions. Only then remove its initializer and controls.
Our story motion map
The Our story footer contains the Fab About GSAP animations block scoped to .fab-about. Its paired story panels use .fab-about-difference-slide and .fab-about-difference-image. The .fab-about-difference-prev, -next and -counter controls depend on matching panel counts and order.
The custom GSAP flavor sequence uses .fab-about-flavor-track and .fab-about-flavor-slide. Original cards supply data-name and data-copy to .fab-about-flavor-name and .fab-about-flavor-copy. Arrows and swipe move the track; data-fab-clone cards are created at runtime. Edit the originals, not those generated clones. This sequence is not a native Slider.
Image and scroll targets include .fab-about-hero-image, .fab-about-quote-image-wrap, .fab-about-story-image-wrap, .fab-about-strip-list, .fab-about-cta and .fab-about-cta-image. Reveal options come from data-split, data-fade, data-large, data-stagger, data-item, data-parallax, data-start, data-toggle, data-delay and data-gap. Generated split-word attributes belong to runtime output.
Story images and flavors move with duration: .8. Word entrances also use .8, with stagger: .05 and data-delay. General parallax runs from top top to bottom top with scrub: true. Leave enough image overscan for the chosen travel. Restore a visible static panel/image arrangement before removing an initializer.
Product gallery and flavor showcase
The Product landing gallery keeps native Slider navigation. .fab-detail-gallery-thumbnail and .fab-detail-gallery-thumbnail-line display the GSAP clock’s four-second progress. Leave native autoplay off so two timers do not compete. Keyboard focus, hidden tabs and reduced motion pause the clock. Removing only the clock block retains manual navigation. The product-bar block hides .fab-detail-product-info-bar when .fab-site-footer enters view and restores it above the footer; reduced motion applies this immediately.
The Product controller is scoped to .fab-detail-reference. Its q/qa helpers build selectors in the .fab-detail- family and accept matching -base classes where a standalone style was separated from a combo. Only sections actually present receive an effect. Current targets include .fab-detail-product-presentation-step-1, .fab-detail-product-presentation-step-3 and newsletter/footer content; optional technical-specification, feature-box, FAQ and explainer branches are not proof those sections exist. The rise helper uses duration: 3 and scrub: 1.6. If adding feature boxes, pair .fab-detail-box-row-header with .fab-detail-overlay-text-center inside .fab-detail-box and test keyboard-expanded state. Restore visible content and remove pinning before retiring a matching initializer.
Within .fab-showcase-stage, .fab-showcase-wave, .fab-showcase-story and .fab-showcase-pack decorate the native Slider. Controls are .fab-showcase-prev, -next and -pause. Native photo travel is data-duration=1700, and GSAP delayedCall(2.4) advances native dots. The wave travels for .75 seconds with power2.inOut; text/pack exits use .35, while entrances use .5 from timeline position .65.
If removing the wave, retain one visible story and package, reveal native arrows/dots, and remove hidden overlays before deleting custom controls and that page’s GSAP block. Keep data-flavor-color paired with the intended ink color. Check every slide, pause, keyboard input and reduced motion.
Home 02 and Home 03 motion
Home 02’s .fab-landing footer loops .fab-landing-marquee-track over 50 seconds; .fab-landing-motion-toggle pauses or resumes it. Hover and keyboard focus on .fab-landing-product-card swap .fab-landing-product-photo with .fab-landing-product-pack over .4 seconds. Native Sliders continue to own gallery layout and travel.
Home 03’s .fab-bold footer loops .fab-bold-tape-track over 45 seconds, controlled by .fab-bold-motion-toggle. Product hover/focus feedback on .fab-bold-product-card and .fab-bold-product-pack takes .2 seconds. The selected .fab-bold-tab-link follows native Tabs state.
The native .fab-bold-social-slider advances through its Next arrow after GSAP delayedCall(5) while visible. .fab-bold-gallery-toggle pauses it. Over .3 seconds, .fab-bold-social-card and .fab-bold-social-caption emphasize the middle visible card or the keyboard-focused card. User input, a hidden tab or reduced motion stops automatic cycling.
Retire only the relevant page’s scoped footer when disabling these decorations. Choose a visible static photo/pack state and retain native Tabs and Slider controls. A stopped marquee needs only its first content group; remove decorative duplicates if they no longer serve a purpose.
Collection controls
Collections 2 now uses native Webflow Tabs: .fab-col2-native-tabs contains .fab-col2-native-menu, .fab-col2-native-tab and .fab-col2-native-content. The panes show All flavors (6), Sweet & spirited (3), and Rich & mellow (3). Native tab selection, w--current and keyboard Arrow/Home/End/Enter behavior replace the former aria-pressed filter script; the page Footer contains no category-filter code. The category panes contain editable duplicates of the original six cards in All flavors. Keep product copy, images and links consistent in both locations when editing inventory. Add or remove paired native tab links and panes together, update counts, and verify every category at mobile and desktop widths.
Collections 3’s wipe uses duration: .75, ease: "power3.inOut", and clipPath from inset(0 100% 0 0) or inset(0 0 0 100%) to inset(0 0 0 0). Reduced motion clears the mask immediately. To remove only the wipe, delete its scoped page Footer block and reload Preview; retain the native Slider and controls. The final panel must remain visible with no leftover clip-path. Check both directions and rapid repeated input.
Remove an effect without losing content
Save a copy of the current code first. Remove only the matching initializer, timeline and ScrollTrigger creation, leaving unrelated effects and dependencies intact. In a diagnostic console, target a trigger by its own ID rather than killing every trigger. Reload Preview after saving to discard old event handlers, generated clones and transforms.
Unpin content and return it to visible document flow before removing effects that overlap or clip it. Clear effect-owned transforms, opacity and visibility. Inspect 320, 390, 768, 1024, 1440 and 1920 pixels plus widths between them. Include keyboard focus, rapid repeated input, reduced motion and failed JavaScript dependencies.
Replace uploaded SVG assets through native Image settings. Functional controls still need meaningful accessible names; a decorative glyph is not a substitute. If inline SVG is added later, record its exact location and editing steps in this guide.
Before you publish your own site, replace the sample images and branding, connect the forms to your own email or integration, write your page metadata, and check each page at desktop, tablet and mobile sizes. See the Licenses page for image and font terms.
Page-wide reveal layer
The shared footer’s FAB PAGE MOTION START–END block defines FabPageMotion. Its plans object selects existing native headings, lead text, cards and static images by page ID and class. Change that map to adjust coverage. Headings remain intact native text rather than generated word spans, so their copy and semantics stay editable.
FabPageMotion v3 reveals headings with a 48px rise and opening clip mask over .8 seconds. Copy/cards rise 52px over .75 seconds; card delays use (index % 4) * .09. Images now use opacity plus clipPath from inset(0% 0% 100% 0%) to inset(0% 0% 0% 0%) over .8 seconds, with no image translation or scale. Utility entrances use 16px and .55 seconds. Entrances use power3.out at start: "top 88%". Selected desktop art drifts up 56px to .9 opacity with scrub: .85. Change one value, then inspect narrow and wide views.
Image targets include .fab-index-thumbnail, Home 1 .fab-ui-blog-image and .fab-shop-image, Home 2 split/hero/editorial images, Home 3 collection/story images, Collections 1 pack/promo images, .fab-col2-pack, .fab-col3-pack, Contact 2 photos, .fab-blog-cover and .fab-v1-image. Read the plans object for the exact page-specific list. Images are claimed first so their parent cards do not receive a second wrapper animation. Existing About/Showcase controllers, native Slides/Tabs, menus, product presentation and form controls keep their own behavior. Pages without editorial images retain text motion. Reduced motion disables this layer; keyboard focus restores a revealing target. Missing GSAP/ScrollTrigger leaves native content visible. data-fab-motion="off" excludes a subtree.
Delete the whole FAB PAGE MOTION START–END block and reload Preview to remove this reveal layer. Retain the earlier shared menu/logo scripts, page controllers and enabled libraries. For a temporary console check, use window.FabPageMotion?.disable(). Repeat desktop, mobile, keyboard and reduced-motion checks after an edit.




