For AI agents
Agent instructions
This page briefs an AI agent on how Halide is built, so it can edit the site without breaking the system. If you are a person, the Instructions page is written for you.
What this site is
- Halide is a Webflow template for a brand and web studio. It uses Client-First V3 naming, Webflow variables, Webflow components, native Webflow interactions and one motion script.
- Every page is built from the components and classes listed below. The Navbar, Footer and CTA are components. Edit them once and every page follows.
- Projects, services, articles, team members, testimonials and roles live in six CMS collections. Work, Journal and Careers list them automatically.
- Layout variants: Home, Studio and Contact each come in three versions. /studio is the studio statement, timeline and team. /studio-2 is a founder's manifesto with five rules and a letter. /studio-3 puts the four directors on the page with their bios. /contact is the details and form, /contact-2 is the project brief and /contact-3 is a short message form with the studio address below it. Delete the versions that are not needed and remove their footer links.
| Group | Pages and slugs |
|---|---|
| Home | /, /home-2, /home-3 |
| Studio | /studio, /studio-2, /studio-3, /careers, /role/{slug}, /team-member/{slug}, /testimonial/{slug} |
| Work | /work, /project/{slug} |
| Services | /services, /service/{slug}, /pricing |
| Journal | /journal, /article/{slug} |
| Contact | /contact, /contact-2, /contact-3 |
| Utility | /privacy, /terms, /licenses, /changelog, /instructions, /agent-instructions, /style-guide, /404, the Password page |
| Collection | Fields to fill |
|---|---|
| Projects | Name, Slug, Client, Year, Timeline, Summary, Cover image, Cover alt, Preview image, Gallery, Services, Result 1 to 3 (value and caption), Testimonial, Featured, Order, Case study, Share image |
| Services | Name, Slug, Number, One-line summary, Preview image, Preview alt, Body, Deliverables, Meta description, Share image |
| Articles | Title, Slug, Date, Author, Summary, Reading time, Cover image, Cover alt, Featured, Body, Share image |
| Team Members | Name, Slug, Role, Short bio, Portrait, Portrait alt, Meta description, Order |
| Testimonials | Name, Slug, Quote, Role, Company, Portrait, Portrait alt, Meta description |
| Roles | Title, Slug, Team, Location, Type, Body |
Rules you must follow
- Never add a colour. Use the Theme variables
Background,Surface,Border,Text,Text Muted,Accent,Accent Hover,Accent Text,On AccentandError. Never type a hex code. - Never add a font size. Use the text classes
heading-style-display,heading-style-h1toheading-style-h5; h6 uses the tag style, with no class,text-size-large,text-size-smallandtext-style-label. Body text needs no class. - Never add a spacing value. Use the Space variables (Space 4, 8, 12, 16, 20, 24, 32, 40, 64 and 96) and the Layout variables.
- Never create a class for one element. Reuse a class or a component. A new class follows Client-First:
folder_element, withis-combo classes for variants. - To rebrand, change
Cobalt 400,Cobalt 500andCobalt 600in the Color collection. Change nothing else. - To make a section light, dark or cobalt, add
theme-light,theme-darkortheme-cobaltto the section. Setdata-navtolight,darkorcobaltto match. Usetheme-cobaltsparingly: the CTA, one feature band or one page header. - Build every section as Section, then
padding-global, thencontainer-large, thenpadding-section-large, then the content. Start a new section by dropping in the componentSection Template. - Insert components. Never rebuild a card, row, button, page header or heading from divs.
- Every image needs alt text, a width and a height, and must be 150 KB or less. When you add an image to a CMS item, always fill its alt field too (Cover alt, Preview alt or Portrait alt).
- Keep one H1 per page and do not skip heading levels.
- Link with Webflow page links, never typed addresses. Point every Start a project button to
/contact-2.
Design tokens
| Collection | What it holds |
|---|---|
| Color | Primitives: Ink, Bone, Cobalt, White, Red. Only Theme variables use them. |
| Theme | Thirteen variables: ten colour roles plus three logo switches (Logo On Dark, Logo On Light and Logo On Accent), with modes Light (base), Dark and Cobalt. |
| Space | Space 4, 8, 12, 16, 20, 24, 32, 40, 64 and 96. |
| Layout | Page Padding, Gutter, Section Padding, Section Padding Small, Section Padding Large, Heading Gap, Hero Top, Stack Gap, Nav Offset. Modes: Desktop, Tablet, Mobile Landscape, Mobile Portrait. |
| Sizes | Container Max, Radius Small, Radius Medium, Radius Large, Radius Pill, Border Width, Button Height, Input Height, Tag Height, Row Padding and component sizes. |
| Typography | Display, H1 to H6, Body Large, Body, Small and Label: size, line height, letter spacing, weight and width, per breakpoint. Font Family: Font Sans and Font Mono. |
| Font Styles | The mode switcher that tag styles and text classes use. Do not edit. |
| Layers | Z Base, Z Raised, Z Nav, Z Menu, Z Cursor, Z Preloader. |
| Motion | Duration, Stagger and Distance values, and one switch per module. |
Text styles
| Class | Desktop size | Use |
|---|---|---|
heading-style-display | 160 | Metrics, CTA, 404 |
heading-style-h1 | 104 | Hero titles |
heading-style-h2 | 72 | Section headings and page titles |
heading-style-h3 | 44 | Statements |
heading-style-h4 | 28 | Card titles |
heading-style-h5 | 20 | Names and small titles |
h6 tag style | 13 | Mono capitals (tag style only, no class) |
text-size-large | 22 | Lead text |
| No class | 17 | Body |
text-size-small | 14 | Notes |
text-style-label | 12 | Labels, written as 01 / Name |
Add text-color-muted for secondary text. The H1 takes its size from a class, so an H1 with heading-style-h2 is correct. Sizes fall by breakpoint through the Typography modes, so never set a size on a breakpoint.
Components
| Component | Variants | Use |
|---|---|---|
| Site Navbar | Dark, Light, Cobalt | Pick the variant that matches the first section. |
| Site Footer | None | Edit links once. |
| CTA Section | Cobalt, Ink | Props: Label, Heading, Button Label, Button Link, Nav Theme. Set Nav Theme to cobalt on Cobalt and dark on Ink. |
| Page Header | Split, Media, Aside, Centred | Props: Label, Title, Intro, Image, Image Alt, Show Image. Slots: the first, second and third slot (Actions, Meta, Links). Title is the only H1 on the page. Set the theme on the section around it and match the Navbar variant. |
| Work Card | Large, Grid, Tall, Row | Projects. Bind to the Projects collection: Tag 1 to Timeline, Tag 2 and Services to Services summary. |
| Article Card | Default, Featured, Compact | Articles. |
| Service Card, Team Card | Service: Base, Feature. Team: None | Services and team members. Feature is the wide service row with the image on one side. The team card is one link to the team member page, set with the CMS item link (the page of the item being shown). |
| Process Card, Metric Card | Stacking or Step; Display or Medium | Process steps and numbers. |
| Testimonial Card | Slider Card, Fluid Card, Large Quote | Quotes. Fluid Card is the card that sits in a grid column. The card is one link to the testimonial page, set with the CMS item link (the page of the item being shown). |
| Pricing Card | Default, Featured | Plans. |
| Service Row, Role Row, Award Row, FAQ Item | Service Row: Base, Compact. The others: None | Rows and questions. Compact is the text-only service row. |
| Button | Primary, Secondary, Inverted, Text Link, Text Link Large, Nav, Hero | Props: Label, Link, Show Arrow, Motion (type magnetic for the magnetic hover). Buttons are Button instances; only native form submits keep the button class. The arrow is built in, so never add your own arrow child with the class text-style-arrow. |
Portrait Frame, Portrait Frame Square, Header Image | None | An image with its width and height bound to the CMS file. Portrait Frame is 4:5, Portrait Frame Square is 1:1 and Header Image is the page header image. Header Image sits inside Page Header, so you rarely place it yourself. |
The Navbar, Footer and CTA each appear once per page. Never copy their contents into a page.
Layout
grid_layouthas 12 columns on desktop, 8 on tablet and 4 on mobile. Place a block with a column class such asgrid_col-1-7,grid_col-3-9orgrid_col-9-12. Every block goes full width on tablet.- Leave column 8 empty between a main block on columns 1 to 7 and a side block on 9 to 12.
- Rich text and legal text sit on
grid_col-3-9with the classtext-rich-text. - Two neighbouring sections with the same theme: use
padding-section-bottom-largeon the second, so the padding does not double. - Number labels follow page order:
01 / Studio,02 / Work. Heroes, page headers and the CTA have no number. - Classes added for the Studio 2, Studio 3 and Contact 3 layouts:
section_principles(Studio 2 rules, built on the answers_* list),section_letter,letter_bodyandletter_signature(Studio 2 founder letter),section_people,people_list,people_item,people_contentandpeople_name-link(Studio 3 team rows),section_message(Contact 3 form),section_locationandlocation_details(Contact 3 address, hours and phone grid). Reuse them instead of making new classes.
Motion
- Motion is added by attributes. Add
data-motionto an element. Never write animation code on a page. - Never animate width, height, top, left or filters. Use transform, opacity or clip-path.
- The card image zooms (work, article, service, team and testimonial cards) are IX3 interactions. Every other hover is a CSS state in the Style panel. The FAQ is driven by the Halide Motion script and works with motion off.
- Change timing in the Motion variables. Switch a module off by setting its Module Switch to 0.
| Attribute | Goes on |
|---|---|
| data-motion="lines" | Headings and short text |
| data-motion="scramble" | Numbered labels |
| data-motion="reveal" | An image frame |
| data-motion="parallax" | The image frame in a page header |
| data-motion="develop" | A statement paragraph |
| data-motion="digits" | A metric value of four characters or fewer |
| data-motion="magnetic" | One Primary button |
| data-motion="marquee" | The logo marquee |
| data-motion="preview" | A row link that shows a floating image: service rows, award rows and the Next project link |
| data-motion="layout" | The work index on Work, which holds the hidden Grid and List buttons and two Collection Lists (data-layout-view="grid" and "list") |
| data-motion="slider" | The testimonial track (id slider-track). The hidden slider_controls beside it hold slider-prev, slider-next and slider-count |
| data-motion="stack" | The process cards |
| data-motion="aperture" | The Home aperture section, and the cover on project and service pages |
| data-motion="gallery" | The Home work section, with the ids work-track, work-count and work-bar inside |
| data-motion="cta" and "trail" | The CTA section and its trail layer, in CTA Section |
| data-motion="preloader" | The hidden preloader, on Home only |
| data-motion="nav" | The navbar (Site Navbar) |
| data-motion="uncover" and "wordmark" | The footer and its wordmark (Site Footer) |
| data-hero="lines" and "fade" | The Home hero heading and the hero items that fade in |
| data-stagger | A group of image frames that reveal one after another |
| data-cursor="view" | Cards. Use open on rows and drag on the slider |
| data-nav="light", "dark" or "cobalt" | Every section. The navbar takes that theme while the section is under it |
| data-src | An image address on a preview row that has no image of its own |
Content rules
- Write headings in sentence case.
- Write labels as
01 / Name. The label style shows them in capitals. - Write an arrow as the character → in a text element. Never use an icon.
- Start button labels with a verb. Use two or three words.
- Do not use em dashes.
Common tasks
Change the brand colour
- Open the Variables panel and the Color collection.
- Change Cobalt 400, Cobalt 500 and Cobalt 600.
- Check a light page, a dark page and the CTA.
Replace the hero image
- Upload a WebP of 150 KB or less. Keep the subject in the right 40% of the frame.
- Replace the image in the three Home hero elements, so they match.
- Set alt text, width and height.
Add a project
- Open the Projects collection and add an item.
- Fill every field, set Order, and keep Featured off.
- Publish the item. Work lists it with no further steps.
Add a new section
- Drop in Section Template and unlink it.
- Rename the section class, then add a theme class and data-nav.
- Fill the grid with existing components.
Change the number of metrics
- Add or remove a Metric Card inside the metric list.
- Use the Medium variant and the four-column list for four across.
- Keep each value to four characters.
Turn off the preloader
- Set Motion, Module Switches, M01 Preloader to 0.
Add a team member
- Open the Team Members collection and add an item with a 4:5 portrait.
- Add a Team Card to the grid and bind it to the item.
Change the fonts
- Add the fonts in Site settings, Fonts.
- Change Font Sans and Font Mono in the Typography collection.
What not to do
- Do not add custom CSS, inline styles, hex colours or pixel values that are not variables.
- Do not rename a class or a component.
- Do not delete a
data-motion,data-cursorordata-navattribute, or an element id. - Do not add a script or a library.
- Do not hide an element in place of removing it. The one exception is the controls the motion script shows when it runs: the Home preloader and slider controls, the Work Grid and List buttons and list view, the CTA trail images and the hidden preview images. They are set to Display: none on purpose. Leave them hidden.
- Do not edit a component to fix one page. Unlink an instance first, or use a variant.