Instructions

How Cargonic is put together in Framer, and how every animation works — what starts it, what it does and the setting that controls it.

CONTENTS

Everything in Cargonic can be edited on the Framer canvas. Colors and type live in color and text styles, repeating parts are components, and the animations are code overrides or small code components attached to ordinary layers — so you can add, move or remove an effect without writing code.

To add an override, select a layer, open Code Overrides in the right panel and choose the file and the override; clear it there to switch the effect off. Code components are dragged in from Assets → Code and set up with their properties in the right panel.

Getting started

Color and text styles

Coal, Graphite, Linen, Cream and Marigold are color styles, and headings, body text, captions and buttons are text styles. Change a style in the Assets panel and every layer that uses it updates across the site.

Breakpoints

Every page has three breakpoints: Desktop (1200), Tablet (768) and Phone (390). Design on Desktop first; the other breakpoints only keep their differences. Text styles carry their own smaller sizes for tablet and phone, so headings and body text scale down without extra styling.

Components and layout template

The Header, Footer, buttons, Section Title, Team Card, Solution Box, Client Card, Partner Card, Path Pin and Path Caption are components. Edit a component to change it everywhere, or use its properties to change one instance.

The Header and Footer sit in the Main layout template that every page uses. Each page picks its header background, Cream or Linen, with the template’s Header Background property.

CMS

Case Studies, Blog, Categories and Careers are CMS collections. Their detail pages are designed once and filled from each item, and the SEO Description field fills in the page’s meta description.

AI agent skills

The template comes with two skills for the Framer AI agent. Start a request with /design-system when you ask the agent to add or change a page, section, card or form; it then uses the Main layout template, the color and text styles and the existing components instead of inventing new ones.

Start with /cms-content when you add or edit a blog post, case study, job opening or category; the agent then fills every field the cards and detail pages use, including images, alt text, dates and SEO fields.

How the animations work

Cargonic uses two kinds of motion. Simple hover, appear and scroll effects are Framer’s own, in the Effects section of the right panel. Effects that need more logic, such as carousels, counters and pinned sliders, run from the code files in Assets → Code: overrides that you attach to an existing layer, and code components that you place on the canvas and set up with their properties.

Each code file starts with a comment that explains what it does, the layer structure it expects and its settings. There is no GSAP: every effect is written for Framer, so there is nothing to switch on in Site Settings.

Most effects leave the canvas as it is, so the layout stays easy to edit; open Preview or the published site to see them move.

Text animations

Character reveal

Characters fade in from Marigold to the text’s own color, starting from both ends and meeting in the middle. It plays once, when the top of the text enters the bottom of the screen; text that is already on screen plays as the page loads. Used on the page headings.

TextScrub.tsx → withTextScrub

Word reveal

The same reveal, word by word instead of letter by letter. Used on the footer heading.

TextScrub.tsx → withTextScrubWords

For a reveal with its own start color or timing, drop the Effect component next to the text, set Effect to Reveal and Target to Previous, then choose Split, From Color and Max Time. Long texts speed up so the whole reveal stays within Max Time.

Effect → Reveal · Target · Split · From Color · Max Time

Scroll animations

Reveals

Drop the Effect component into a stack and position it absolute so it takes no room. With Target set to Parent and Effect to Stagger, the cards fade in from a smaller scale one after another when the stack scrolls into view.

Effect → Stagger · Target: Parent

Pop grows the layer to Scale, and Zoom In grows it from Scale to its normal size with a slight overshoot.

Effect → Pop · Zoom In · Scale

Parallax

Give an image a Scroll Speed (Effects → Scroll → Speed, for example 85% or 115%) and put withParallax on it. The override measures the drift around the layer’s own spot, so the layer sits where it is on the canvas when it is in the middle of the screen.

Parallax.tsx → withParallax

For an image that drifts inside its frame, drop Parallax Image into the frame and position it absolute. The image moves from −Amount % to +Amount % of the frame’s height while the frame crosses the screen.

Parallax Image → Amount

Rise and shrink

Effect set to Fly: the layer rises in from Rise (vh) when it comes into view, and while the page scrolls past it moves straight up to End Y and shrinks to End Scale around its top centre.

Effect → Fly · Rise · End Y · End Scale

Ambient motion

These play on their own, with no scrolling involved.

Swing → Angle · Duration · Drop In · Drop Duration

The layer around the Swing component drops in from one full height above when the page loads, then sways between −Angle and +Angle around its top centre, once every Duration, for as long as the page is open.

DiamondList.tsx → withDiamondList

While the list is on screen the active diamond steps down the list one item at a time and starts over at the top. The first item’s diamond sets the active color and the second the idle color.

Video Player → Autoplay · Loop · Muted · Lightbox Video Toggle

Video Player plays a video file or URL in place and can open it larger in a lightbox. Video Toggle, dropped inside a card, plays and pauses the nearest video.

Hover and click

Card hover

Put Hover Reveal in the same stack, right after the layer to reveal (a description, for example), and position it absolute. The layer stays folded until the card around it is hovered, then slides open and fades in. On the canvas it stays open so it can be edited.

Hover Reveal → Duration

Arrow hover

Put withArrowCardHover on a card that is a link. On hover its arrow slides out to the right and comes back in from the left, like the arrow on the buttons. The arrow is the layer named Arrow (or the card’s last icon), and its round frame clips it. Used on the job cards, blog cards, header menu cards and Home C cards.

ArrowHover.tsx → withArrowCardHover

Button and link hover

withButtonHover is built into the Secondary Button: the label’s letters roll up one after another and the arrow slides out and back in. withCharHover turns a link’s letters Marigold one after another on hover; withCharHoverNav does the same for the navigation pills and keeps the current page’s link Coal.

ArrowHover.tsx → withButtonHover CharHover.tsx → withCharHover · withCharHoverNav

Image hover

Drop Card Hover anywhere inside a card, such as a blog card in a Collection List. Hovering the card zooms and fades its image and turns its round arrow button light. Nothing changes on the canvas.

Card Hover → Image Zoom · Image Opacity · Arrow Fill · Arrow Shift · Duration

Accordions

The FAQ lists are the Accordion code component. Add, edit and reorder the questions in its Items list; one item is open at a time and First Item sets which one starts open. Icons or numbered circles, colors, fonts, border and padding are set in the right panel. Sync Carousel takes the Name of a Carousel that follows the open question.

Accordion → Items · First Item · Icon Type · Sync Carousel

Blog filter

The category chips on News filter the post grid, one category at a time. Put withFilterChip on each chip and withFilterCard on the card in the Blog list; a card matches when any of its text equals the chip’s text, so bind the card’s tag to the post’s Category. A chip named All shows every post, and clicking the active chip again does the same. Leaving cards fade and shrink, and the others glide to their new spot.

CategoryFilter.tsx → withFilterChip · withFilterCard

Header

The Header component has Desktop, Tablet and Phone variants plus open variants for the Home and Company submenus and the mobile menu. withHeaderScroll on its navbar slides the header away when you scroll down past 120px and brings it back as soon as you scroll up; focusing a link inside shows it too.

HeaderScroll.tsx → withHeaderScroll · OFFSET = 120

Carousels and sliders

Drag carousel

Connect a Collection List, or any layers, to the Carousel’s Content. Drag, swipe or use the buttons; the items snap into place. Loop, Align, Gap and the item size are set in the right panel, and Autoplay moves on by itself, waiting while the pointer is over the carousel or it is off screen. Carousel Button and Carousel Counter control and follow every Carousel with the same Name.

Carousel → Content · Name · Loop · Align · Gap · Item Width · Autoplay · Delay

Carousel Button → Name · Direction · Icon Carousel Counter → Name · Separator

Section

├─ Carousel          Name: cases · Content: Collection List

├─ Carousel Button   Name: cases · Direction: Previous

├─ Carousel Counter  Name: cases    → 01 / 05

└─ Carousel Button   Name: cases · Direction: Next

Slide track

Slide Track draws the arrows and a pager (dots or 01 / 04) for the row of cards right below it. Put it in the stack just before the row and give it full width; the row slides one card per step, never loops and can be dragged.

Slide Track → Pager · Arrow Size · Dot · Active Dot · Duration

Team carousel

The Board of Directors on Leadership is the Team Carousel code component. Photos, roles, names, bios and emails are edited in its Members list; drag or the arrows move it, and the text cross-fades with the photo. The size and position of the active and waiting photos and of the text are set in the right panel.

Team Carousel → Members · Controls · Active Width · Small Width · Gap

Solutions slider

The services showcase on Solutions is the Solutions Pin code component. The large image slides one card per step, the text fades out to the left and the next fades in from the right, and the active index circle turns Marigold; the index circles change the step. Layout Stacked puts the image above the text on tablet and phone, and Pin turns it into a pinned section that the page scroll moves through.

Solutions Pin → Items · Layout · Pin · Snap

Case Studies slider

Put withCaseSlider on the slider wrapper. While it scrolls by, the sticky frame stays in view and each step wipes the current image upwards to reveal the next. Layers are found by their order, so keep this structure:

CaseSlider.tsx → withCaseSlider

Slider wrapper          withCaseSlider

└─ Sticky frame

   ├─ Collection List

   │  └─ Slide, Slide, …

   │     ├─ Image

   │     └─ Overlay

   │        ├─ Top stat

   │        └─ Bottom panel + button

   └─ Counter (absolute)

      ├─ Current pill > number “01”

      └─ Total > number “03”

Pinned sections

Card decks

withCaseDeck (case studies on Home B) and withCareersDeck (Why work with us on Careers) hold a stage on screen while the cards slide up one by one and land on the ones before. The cards sit one below the other on the canvas and stack on the live site.

CaseDeck.tsx → withCaseDeck CareersDeck.tsx → withCareersDeck

Sticky stacks

The stacked cards on Home C and Solutions are native: each card has Position Sticky and a Top value (the same Top lands the cards on top of each other, a growing Top leaves a peek). withStackedCards on the column, or the invisible Stacked Cards component with Shrink and Hold, adds the depth and the clean exit. withViewportFit stretches a sticky layout to the screen height.

StackedCards.tsx → withStackedCards · Stacked Cards ViewportFit.tsx → withViewportFit

Process timeline

withProcess drives the How we work section on Home B: each step’s line fills as it passes the middle of the screen, while the cards column stays sticky.

ProcessScroll.tsx → withProcess

Counters

Count-up

withStatCounter on a single number, such as 1,847 or 98.4%, counts up from 0 when it scrolls into view and again on click; the prefix and suffix stay as they are. withNumberIntro spins every digit up from 0 once instead, and the Effect component set to Counter rolls the digits in like an odometer.

NumberCounter.tsx → withStatCounter · withNumberIntro Effect → Counter

Stats switcher

Put withNumberCounter on the section. Each number stays for 4 seconds, then the next one rolls in digit by digit, and the progress line fills one step per number before starting over. Clicking a tab rolls to its number and clicking the number rolls to the next one. Autoplay pauses while the pointer is over the counter or it is off screen. The counter is found by its shape:

NumberCounter.tsx → withNumberCounter · AUTOPLAY = 4

Section                 withNumberCounter

└─ …

   └─ Counter

      ├─ NumberClip      overflow hidden

      │  └─ NumberTrack

      │     └─ Number, Number, …   one per tab

      ├─ Tabs

      │  └─ Tab, Tab, …          one styled as active

      └─ Progress Track  optional, with Progress inside

SVG drawing and motion paths

Draw SVG

Paste an SVG into the DrawSVG component: every line (a stroke without a fill) draws in, and filled shapes stay as they are. Trigger view draws once when it scrolls into view, scroll ties the drawing to the page scroll from Start to End, and load draws as soon as the page is ready. For a vector already drawn on the canvas, put withDrawSVG on it instead.

DrawSVG → SVG · Trigger · Duration · Delay · Stagger · Start · End

DrawSVG.tsx → withDrawSVG

Motion paths

Paste an SVG, or just a path’s d, into Motion Path, add Items (any layer or component, such as Path Pin and Path Caption) and give each one a row in Places; an item without a row gets an even share of the path. Mode sets the movement: loop, pingpong, scroll, once or static. Duration sets the time for one lap and Boost speeds the loop up while the page scrolls.

Motion Path → SVG · Items · Places · Mode · Duration · Boost

On Home the Our Purpose cards ride their route as the page scrolls: Motion Path Rider, dropped anywhere inside the section, finds the longest line and the cards by itself.

Motion Path Rider

How to edit animations

Element map

Every page: page headings with withTextScrub, smooth scrolling (withSmoothScroll in the layout template), the header (withHeaderScroll, withCharHoverNav, withCharHover, withArrowCardHover) and the footer (withTextScrubWords, withCharHover and a Motion Path route).

Home: the route (Motion Path, DrawSVG), Our Purpose (Motion Path Rider), the case studies Carousel with Carousel Button and Carousel Counter, the FAQ Accordion, the stats switcher (withNumberCounter), count-ups (withStatCounter), Video Player with Video Toggle, Card Hover and withParallax.

Home B: the hero card (withYellowShift in HomeB.tsx), the How we work timeline (withProcess), the list icons (withDiamondList), the case study deck (withCaseDeck), withNumberIntro, Effect, Motion Path, Carousel and Accordion. Home C: sticky cards (withStackedCards), Swing, Slide Track, the stats switcher, Parallax Image, Hover Reveal, withArrowCardHover, Carousel and Accordion.

Company: Video Player, DrawSVG, Accordion and withParallax. Leadership: Team Carousel and Effect. Solutions: Solutions Pin, Stacked Cards, withViewportFit, Parallax Image and Motion Path. Careers: the job card deck (withCareersDeck) and Effect. Case Studies: the pinned slider (withCaseSlider). News: the category filter (withFilterChip, withFilterCard) and withArrowCardHover. Case study pages: withNumberIntro. Job pages: withBulletColor. 404: Motion Path.

Key settings

Code components keep every setting in the right panel, per instance and per breakpoint. Overrides have no panel: their timings sit as named constants at the top of the file, for example AUTOPLAY in NumberCounter.tsx, OFFSET and GLIDE in HeaderScroll.tsx, THRESHOLD in TocActive.tsx or SCROLL_PER_CARD in CaseDeck.tsx. The highlight colors of the contents list and the diamond list are read from the canvas; the Marigold start color of the text reveal is ACCENT in TextScrub.tsx.

Removing an animation

1. Overrides: select the layer and clear the override under Code Overrides. The layer keeps its layout and styling and simply stops animating.

2. Helper components (Effect, Swing, Parallax Image, Hover Reveal, Card Hover, Stacked Cards, Motion Path Rider): delete the instance. They take no room, so nothing else moves.

3. Content components (Carousel, Accordion, Team Carousel, Solutions Pin, Motion Path, DrawSVG): they hold their own content, so rebuild it with native layers before you delete them.

4. Smooth scrolling: clear withSmoothScroll on the Header Wrap in the Main layout template. Nothing else depends on it.

Smooth scrolling

withSmoothScroll sits on the Header Wrap in the Main layout template, so it runs on every page. Mouse-wheel and trackpad scrolling glide smoothly, while touch scrolling stays native. GLIDE at the top of HeaderScroll.tsx sets the glide time (1100 ms); clear the override to go back to native scrolling.

HeaderScroll.tsx → withSmoothScroll · GLIDE = 1100

Links to a section on the same page glide to it: name the target layer under Scroll Section, link to it and keep Smooth Scroll on in the link settings. The sections on this page keep a top scroll margin, so their headings stop below the fixed header.

Reduced motion

When a visitor has turned on reduced motion in their system settings, smooth scrolling is off, the stats switcher stops autoplaying, the text reveals, Effect, Swing, Parallax Image, Motion Path and Motion Path Rider stand still, the arrow, button and letter hovers stay still and DrawSVG shows its lines fully drawn. Framer’s own effects can be checked in Preview with reduced motion switched on.

This contents bar

The contents list on this page follows your scroll and highlights the section you are reading. On tablet and phone it turns into a bar under the header: drag or swipe it sideways, tap a section to jump to it, and the current section slides into view by itself.

TocActive.tsx → withTocActive

Contents List            withTocActive

├─ Item   link → #getting-started          styled active

│  ├─ Diamond

│  └─ Text

├─ Item   link → #how-the-animations-work  styled inactive

└─ …

The list is made of native layers. Each item is a frame with a link to a section of this page (name the section under Scroll Section first); its first layer is the diamond and the second the text. The first item is styled as active and the second as inactive, and the override reads both looks from the canvas. Set the list’s Direction to horizontal on a breakpoint to turn it into a scrolling bar.