Skip to content
Halide home
Close
01
Work
02
Services
03
Studio
04
Journal
05
Contact
hello@halide.example
Start a project
→
Now booking
Start a project
→
Menu
Getting startedWhat movesMotion variablesSwitching offGSAP animationsAdding motionContent editsNative interactionsColours and fontsBefore launch

Template

Instructions

How to change Halide without breaking it. Start with the motion sections if you plan to edit animation, or skip to content edits if you only need to change words and images.

Getting started

Halide is built in Client-First. Every page follows the same structure: page-wrapper, the Site Navbar component, main-wrapper with the sections, then the Site Footer component. Pages that end with a call to action also carry the CTA Section component above the footer.

  • New page: duplicate an existing page, or add the Site Navbar, Section Template and Site Footer components to a blank page.
  • New section: drop the Section Template component from the Style Guide page and unlink it. It already has the section padding, the 12-column grid and a section heading.
  • Navbar, footer and CTA are components. Edit them once and every page updates. The navbar has a Variant prop: pick Dark, Light or Cobalt to match the first section under it.
  • Cards and rows (Work Card, Service Card, Article Card, FAQ Item and the others) are components with props. Change the words, images and links in the props panel; do not edit the main component unless you want every instance to change.
  • Card images: Work Card and Article Card have two props, Lazy Image (on by default) and Eager Image (off). For cards in view when the page opens, turn Lazy Image off and Eager Image on. Leave the rest lazy. On Journal the featured card is eager, and on Work the grid cards are.
  • Page header: inner pages open with Page Header (the homes, Contact and utility pages have their own openings). Pick the Variant: Split, Media, Aside or Centred. Set Label, Title (the page's only H1) and Intro. Use the first, second and third slot (Actions, Meta, Links) for buttons, for counts or chips, and for a link list (Aside variant). Set the theme on the section around it and match the Navbar variant.
  • Buttons: every button is the Button component. The variants are Primary, Secondary, Inverted, Text Link, Text Link Large, Nav and Hero. Set Label and Link in the props. Switch Show Arrow off for a button without the arrow, and type magnetic in Motion for the magnetic hover.
  • CTA: CTA Section has two variants, Cobalt and Ink. Set Nav Theme to cobalt on Cobalt and dark on Ink, so the navbar changes colour at the right moment.
  • More layouts: Service Card Feature, Testimonial Card Fluid Card, Work Card Tall, Article Card Compact and Service Row Compact are variants of the cards and rows above. Pick the variant in the props panel instead of building a new layout.
  • Layout variants: there are three Home pages (Home, Home 2, Home 3), three Studio pages (Studio, Studio 2 manifesto, Studio 3 people) and three Contact pages (Contact, Contact 2 project brief, Contact 3 short form). Keep the ones you need, delete the others in the Pages panel, then remove their links from the footer Sitemap column and any buttons that point to them.

What moves and why it is safe to change

Halide uses one GSAP script, added in Site Settings. Every element on the site is laid out in its finished position, so the site still works and looks complete with the script removed.

  • Elements are only moved at the moment they animate. The script sets start states; the styles never hide anything.
  • Each module first checks that its elements exist, so a page without them pays nothing.
  • Reduced motion and a missing script leave every element in its finished state. Touch screens skip the custom cursor, the hover image previews, the magnetic buttons and the CTA image trail. Below 992 px the Home aperture and work gallery do not pin, the CTA field does not open from a circle and the footer is not uncovered; below 768 px the process cards do not stack. Scroll reveals and the other modules still play on phones.
  • Reduced motion also lets the logo row wrap onto several centred lines, so every logo shows. The script sets this with inline styles and removes them if the setting changes.
  • Tabbing to a logo pauses the marquee and keeps the first logo's focus ring inside the row, with a 16 px offset. It is part of the same script, so there is nothing to set up.

Motion variables

Timing and switches live in the Motion variable collection. Change a value there and the script reads it on the next page load. Durations are in seconds.

VariableDefaultWhat it does
Duration Fast0.2Cursor fade and label
Duration Base0.4Small reveals: nav, cursor disc, preview frame
Duration Slow0.6Image reveals, label scramble, slider, grid and list switch
Duration Slowest0.8Headline lines, digit roll, preloader count
Stagger Lines0.08Seconds between the lines of a heading
Stagger Items0.06Seconds between digits, hero items and cards
Reveal Distance110How far masked text rises, in percent
Gallery Skew4Largest lean of the Home work gallery, in degrees
Trail Distance110Pointer travel between trail images, in pixels
Magnetic Strength0.3How far a button follows the pointer
Marquee Speed40Logo marquee, in pixels per second

Switching a module off

Set the module's switch variable to 0 in Motion, Module Switches. A value of 1 is on and 0 is off. Publish, then reload. The list says what the page looks like afterwards.

  • M01 Preloader: Home skips the counter screen and the hero headline rises straight away.
  • M02 Line Reveals: headings sit in place with no rise.
  • M03 Travelling Aperture: Home keeps its image as the clipped card; project covers show at full width from the start.
  • M04 Text Develop: statement paragraphs show at full strength.
  • M05 Digit Roll: metrics show their final number as plain text.
  • M06 Pinned Gallery: the Home work gallery does not pin or move sideways.
  • M07 Custom Cursor: no labelled disc follows the pointer. The normal pointer stays.
  • M08 Cursor Preview: no image floats beside the pointer over rows.
  • M09 Stacking Cards: process cards sit one under the other and do not shrink or dim.
  • M10 Throwable Slider: the testimonial track scrolls sideways natively and cannot be thrown. The previous and next buttons and the counter stay hidden.
  • M11 Velocity Marquee: the logo row stays still and is not repeated.
  • M12 Magnetic Buttons: buttons stay still under the pointer.
  • M13 Image Trail: no images follow the pointer over the CTA.
  • M15 Layout Switch: the Work page shows the grid only. The Grid and List buttons stay hidden, because they need the script to work.
  • M16 Footer Uncover: the footer scrolls normally and the wordmark shows with no letter rise.
  • M18 Label Scramble: numbered labels show their final text.
  • Image Reveals and Parallax (the two modules that share the number M20): framed images show at once and stay still inside their frames.
  • M21 Nav Hide: the navbar stays on screen while scrolling down.
  • M22 CTA Aperture: the CTA shows its cobalt field fully open, with no drifting light trails. The M13 image trail lives inside this module, so it stops too.

How to Edit GSAP Animations

All the motion comes from one script, Halide Motion. It sits in Site settings, Custom code, Footer code, between <script> and </script>, so every page gets it. GSAP and the six plugins it uses (ScrollTrigger, SplitText, Draggable, InertiaPlugin, ScrambleTextPlugin and CustomEase) load from Webflow through Site settings, GSAP integration. The script never loads a second copy. GSAP's own documentation is at gsap.com/docs.

Turning motion off

  • One module: open the Variables panel, the Motion collection, the Module Switches group, and set the module's number to 0. 1 is on, 0 is off. Publish. The list under Switching a module off says what each page looks like afterwards.
  • One page, to check it: add #nomotion to the end of the address, for example /work#nomotion. Nothing animates and every element shows in its finished place.
  • Visitors who turn on Reduce motion in their device settings get no animation: FAQ answers open at once and Back to top jumps instead of scrolling. The navbar's colours still follow the section under it, which is a colour change, not movement, and the keyboard support for the menu and the FAQ still works.

Changing durations and distances

You do not need to open the code for this, and it is not meant to be edited by hand: the footer code is a compressed copy of the script with short names, and the only comment is the one-line header. In the Motion collection, the Duration variables set how long moves take, in seconds. The Stagger variables set the gap between lines, cards and letters. Reveal Distance, Gallery Skew, Trail Distance, Magnetic Strength and Marquee Speed set how far or how fast things move. The script reads them each time a page loads. If a variable is missing, the script uses its own default: for example 0.2 seconds for Duration Fast, 0.8 seconds for Duration Slowest, 110 for Reveal Distance (percent of a line's height) and 40 for Marquee Speed (pixels per second).

To change a duration, edit the variable, not the code. For example, to make line reveals, image reveals and the footer wordmark a little slower, open Variables, Motion, Duration, and set Duration Slowest like this:

Motion / Duration / Duration Slowest   (CSS name --_motion---duration--duration-slowest)
0.8   becomes   1

Motion / Module Switches / M02 Line Reveals
1   becomes   0     (turns the module off)

The script finds the Motion variables and the Module Switches by their names, so keep the names as they are. A renamed variable is ignored and the default is used instead. To change which animation an element gets, change its custom attribute (see Hooks below), not the code. To switch a module off, set its number in the Module Switches group to 0, as described under Turning motion off. If you ever need more than the variables, the attributes and the two code edits under Changing one module allow, replace the whole footer code rather than editing other parts of the minified copy.

Hooks: the attributes the script looks for

The script finds its elements by custom attributes, not by class names. Add or change them in the element's Settings panel, under Custom attributes. One data-motion attribute can hold two values with a space between them, for example reveal parallax.

AttributeGoes onWhat it does
data-motion="lines"A heading or short textThe lines rise from a mask as it scrolls into view.
data-motion="develop"A statement paragraphThe words go from faint to full as you scroll.
data-motion="digits"The value in Metric CardThe digits roll into place, then the plain text is put back. Four characters at most.
data-motion="scramble"A numbered labelThe label decodes into place.
data-motion="reveal"An image-frame_componentThe frame opens upward from a clip while the image settles.
data-motion="parallax"An image-frame_componentThe image drifts slowly inside its frame.
data-motion="aperture"The Home aperture section, and the cover on project and service pagesOn Home (desktop) the card image opens to full screen while the section is held in place. On covers, the image opens from the page margins to full width.
data-motion="gallery"The Home work sectionThe section is held in place and the cards travel sideways (desktop). Needs the ids work-track, work-count and work-bar.
data-motion="stack"The process card listEach covered card shrinks and dims as the next one arrives (tablet and up).
data-motion="slider"The testimonial Collection List (id slider-track)The row can be dragged and thrown. Shows the previous and next buttons and the counter, which counts the places the row can stop at (fewer than the cards when several fit on screen).
data-motion="marquee"A marquee_componentThe logo row loops, speeds up as you scroll and reverses when you scroll up.
data-motion="magnetic"A Primary buttonThe button leans toward the pointer.
data-motion="preview"A service, award or Next project rowThe row’s image floats beside the pointer.
data-motion="layout"The work index on the Work pageShows the Grid and List buttons, and the cards slide and fade between the two layouts.
data-motion="cta"The CTA Section componentThe cobalt field opens from a circle (desktop) and the light trails drift.
data-motion="trail"The trail layer in the CTA Section componentProject images follow the pointer.
data-motion="preloader"The preloader on HomeThe counter screen plays once per visit, then opens onto the page.
data-motion="nav"The navbarSlides away when scrolling down, comes back on the way up.
data-motion="uncover" and "wordmark"The footer and its wordmarkThe footer is uncovered (desktop) and the letters rise.
data-hero="lines" and "fade"The Home hero heading and itemsThe hero plays its intro when the page opens.
data-staggerA group of image framesTheir reveals run one after another.
data-cursor="view", "open" or "drag"A card, row or drag areaThe word shows in the cursor disc.
data-nav="light", "dark" or "cobalt"Every sectionThe navbar takes that theme while the section is under the middle of the navbar. The logo and the Menu button each also check what is right behind them, so over a card in a different theme (a light Pricing card in a dark section) they switch to the version that can be read on that card.
data-src="image address"A preview row with no image of its ownThe image the preview shows.

Webflow elements the script uses

A few controls only work with the script, so they are set to Display: none in the Style panel and the script shows them when it runs. Without the script they stay hidden, so there is never a button that does nothing. Leave them hidden in the Designer.

  • Home, preloader_component: the counter screen. It sits at the end of the page and is hidden. Delete it to drop the preloader for good.
  • Home, slider_controls under the testimonials: the counter (id slider-count) and the two buttons (ids slider-prev and slider-next). Hidden until the slider runs.
  • Work page, view-toggle_component with the combo class is-motion: the Grid and List buttons. Hidden until the layout switch runs.
  • Work page, two Collection Lists of projects: the grid (attribute data-layout-view="grid") and the list (data-layout-view="list", combo class is-list, hidden). Both must use the same sort, because the cards are matched by position.
  • CTA Section, five images with the class cta_trail-source inside the trail layer: the pictures the trail shows. They are hidden and decorative, so their alt text is empty. Swap them for your own covers, 150 KB or less.
  • Project and Service templates, a hidden image next-project_preview inside the Next link, bound to the next item's Preview image. Award Row has a Preview Image property for the same job.
  • Ids the script reads: ap-frame, ap-scrim, ap-caption, work-track, work-count, work-bar, slider-track, footer-inner. Keep them as they are.
  • Classes the script reads: page-wrapper, nav_container, nav_logo, nav_menu-button with is-close (the menu's close button), hero_light-line, process_item, process-card_inner, slider_viewport, image-frame_component (the pictures in the work gallery), cta_field, cta_streak, faq-item_question, faq-item_answer, faq-item_icon, plus any link to #top (the footer's Back to top, which scrolls up in under a second and then puts keyboard focus at the top of the page). The script finds these by class name, so do not rename them. If you rename one, the same name must be changed in the footer code or that animation stops.
  • Made by the script, with nothing to edit in Webflow: the cursor disc, the preview frame, the six trail tiles, the tint over stacked cards, the rolling digit columns and the extra marquee copies. They take their sizes and colours from variables (Cursor Dot, Cursor Disc, Preview Frame Width and Height, Cobalt 500, Radius Medium).

Changing one module

Copy the footer code somewhere safe before you edit it. The code is minified, so it has no module headings and no settings block, and the only comment is the one-line header. To change something, press Ctrl+F (Cmd+F on a Mac) in the Footer code box and search for the exact text in the code blocks below. Only two kinds of edit are safe: the ease and the scroll start point. Timings come from the Motion variables, so change those first.

Ease: this is the feel of most moves (reveals, hero intro, slider snap, the cursor and the image trail). Search for the text below and replace every match. Other GSAP eases such as power2.out or back.out work the same way. The full list is at gsap.com/docs/v3/Eases.

Find (every match):   ease:"expo.out"
Replace with:         ease:"power3.out"

Scroll start: this is when reveals begin. It is shared by line, image, digit and label reveals; text develop and the footer wordmark have their own start. Search for the text below and change it once.

Find (once):      f="top 85%"
Replace with:     f="top 70%"

/* top 85% means: start when the top of the element is 85% of the way
   down the screen. A smaller number starts it later, once it is
   further into view. Every reveal shares this one value. */

Removing one module

  • Set its switch to 0 in Motion, Module Switches. For most sites this is enough.
  • To stop it for good, keep the switch at 0 and remove its data-motion attribute from the elements that carry it. The module's code stays in the footer script and does nothing while its switch is 0. If the module had hidden controls (the slider buttons, the Grid and List buttons, the preloader), delete those elements too.
  • Publish and scroll the page. The browser console must show no errors.

Removing all motion

  • Delete everything in Site settings, Custom code, Footer code, and switch off the GSAP integration in Site settings.
  • Publish. Every element shows in its finished place, and the controls that need the script stay hidden. The navbar keeps a solid bar in its own theme colour (the Background variable on nav_container), so the logo and Menu button stay readable over light, dark and cobalt sections; the script makes that bar transparent when it runs. The navbar menu, tabs and forms keep working, because they use Webflow's own elements and native interactions. The FAQ also keeps working, because the script opens and closes its answers whether or not motion is on.
  • Optional: delete the hidden elements listed above and the Motion variable collection. With the script gone, nothing uses them.

Adding motion to a new section

Add data-motion="lines" to a heading and data-motion="reveal" to an image frame. Nothing else is needed.

  • Start from the Section Template component. Give the section a data-nav attribute with light, dark or cobalt so the navbar can match it.
  • Put data-motion="scramble" on numbered labels, data-motion="develop" on a statement paragraph, data-motion="digits" on a metric value and data-motion="magnetic" on a Primary button.
  • The script finds elements when the page loads. Elements added later by a filter or a tab are shown without motion.

Changing images, projects and metrics

The hero image's subject must sit in the right 40% of the frame, because the image is first shown cropped to its right side. Gallery cards and metrics read from the CMS and from plain text, so edit them there.

  • Images: compress every image to 150 KB or less before uploading, and set its alt text in the asset settings or the component's Image Alt prop. Set the width and height in the image settings.
  • CMS card images (project and article covers, service previews) are WebP at their original pixel size, mostly 15 to 45 KB. CMS-bound images don't get responsive sizes, so keep new ones light: under 150 KB, ideally under 60 KB.
  • Projects, services, articles, team members, testimonials and roles live in the CMS. Add, edit or delete items there; the cards and rows update on every page. The SEO title and description of each item feed its template page. The featured case on Home 3 shows the project named Hollis & Rye. To show another project, select that collection list and change the name in Collection list settings > Filter.
  • Metrics: type the final value as plain text in the Value prop of Metric Card. Use four characters at most.
  • Wordmark: type your own name into the footer wordmark. Its size comes from the Wordmark Font Size variable in the Typography collection, set so the word Halide fills the footer. For a longer or shorter name, change the last number in that variable (0.28) until the word fits on one line.
  • Logo and favicon: the navbar logo is an image in Site Navbar; swap the three files for your own. Set the favicon and webclip in Site Settings.
  • Legal pages: the Privacy and Terms pages are sample text for an invented studio. Replace them with your own.

Native interactions

Halide uses Webflow's native, GSAP-powered interactions alongside the script. Each is named in sentence case in the Interactions panel.

  • FAQ items: the FAQ Item component has no native interaction. The footer script opens and closes the answers and sets aria-expanded on the question, which is a button so Enter and Space work too. The FAQ works with motion on or off. With motion on, the answers animate (height and opacity together, about 0.45 seconds each way) and the plus turns. With Reduce motion, #nomotion in the page address, or if GSAP does not load, the answers open and close at once and the plus still turns.
  • The navbar menu and the pricing tabs use Webflow's built-in Navbar and Tabs elements, so they open, close and switch with no interaction to maintain.
  • Zoom work card image, Zoom article card image, Zoom service card image, Zoom team card image and Zoom testimonial portrait: a slow zoom on the card image when you hover it. They sit on Work Card, Article Card, Service Card, Team Card and Testimonial Card. To remove one, delete it in the Interactions panel.

Changing colours and fonts

Change Cobalt 400, Cobalt 500 and Cobalt 600 in the Color collection to rebrand the accent. Change the Font Sans and Font Mono variables in the Typography collection to change the type. Light, Dark and Cobalt are modes of the Theme collection: change a Theme variable once and every section in that theme follows. Drop in the Section Template component and unlink it to start a new section.

Fonts: Mona Sans and Geist Mono are the original variable font files (OFL), loaded with font-display swap.

Buttons: every button on the site is an instance of Button. Pick a variant in the props panel, then set the label and the link. Change the look once on the component and every button follows.

Before you launch

  • Give every page a unique title under 60 characters and a description of 150 to 160 characters, and add an Open Graph image.
  • Replace the sample projects, articles and people with your own, and delete any you do not need.
  • Check the forms: each has its own success and error message, styled on the Style Guide page.
  • See the Changelog for what changed in each version of the template.

Brand and web design for companies with something to prove.

hello@halide.example
→
Sitemap
  • Home
  • Home 2
  • Home 3
  • Work
  • Studio
  • Studio 2
  • Studio 3
  • Journal
  • Careers
  • Contact
  • Contact 2
  • Contact 3
Services
  • Brand strategy
  • Identity design
  • Web design and build
  • Launch and growth
  • Pricing
Social
  • Instagram
  • LinkedIn
  • Behance
  • Dribbble
Now booking
Lisbon, Portugal
Est. 2014
Back to top ↑
Halide
  • © Halide
  • Privacy
  • Terms
  • Style Guide
  • Licenses
  • Changelog
  • Instructions
  • Agent Instructions
  • Designed by Tahi Studio
  • Powered by Webflow