Client-First Webflow class names, automatically

If your Webflow projects use the Finsweet Client-First convention, enable Client-First naming. Then the generated classes use underscores for the component structure (hero_heading, pricing_card), not dashes.

Selectorhero-cardis-largepadding32px 24pxdisplaygrid:hoverbg #146ef5

What is Client-First in Webflow?

Client-First is Finsweet's class naming system for Webflow. A custom class has one underscore between the component and the element (hero_heading, pricing_card); a utility class has none (text-size-large). A variation is a combo class starting with is- (button is-brand), so it only works on top of its base class.

Plain classClient-First classWhy
hero-headinghero_headingThe underscore marks a custom class and splits the component (hero) from the element (heading).
pricing-cardpricing_cardSame rule: one underscore, so the class reads as "the card of the pricing component".
testimonial-slider-headshottestimonial-slider_headshotHyphens stay inside a multi-word name; only the component–element split gets the underscore.
text-largetext-size-largeUtility classes have no underscore and say what they set, so they can be reused anywhere.
button-brandbutton + is-brandA variation is a combo class starting with is-; it has no effect without its base class.
header-homesection_header + is-homeThe same is- rule works on custom base classes.

Client-First, Lumos or MAST: which naming to use for AI code →

1 section, 2 name styles

Default:       hero  hero-heading  hero-button
Client-First:  hero  hero_heading  hero_button

What you get in Webflow

  • Generated names use the pattern component_element
  • FlowPaste keeps your own class names as you wrote them
  • FlowPaste names combo classes for the change that they make (is-light, is-large)
FlowPaste's Convert options with Client-First class names turned on, above a 100% native result with 17 classes
Turn on Client-First class names in Options: new classes are named like hero_heading.

Steps

  1. Open the FlowPaste panel in the Webflow Designer and go to Convert → Options.
  2. Under Class names, pick Client-First (Lumos and MAST are there too). The choice stays on for every paste.
  3. Paste your code, click Convert & copy, then press ⌘V (Ctrl+V) on the canvas.

Limits

  • FlowPaste does not add Client-First utility classes (padding-global and others) automatically.
  • Classes already in your code keep the names you wrote. To get Client-First names on those too, ask the AI tool to write them (the guide below has a prompt).

Questions

Is Client-First free?

Yes. Finsweet publishes the Client-First docs openly, and its starter project is a cloneable on Made in Webflow with no price shown. FlowPaste's Client-First naming works on every FlowPaste plan, Free included.

Can FlowPaste name pasted classes the Client-First way?

Yes. Turn on Client-First naming in the FlowPaste panel options. Every conversion then names classes as component_part (hero_heading, pricing_card) instead of hero-heading.

Is FlowPaste affiliated with Finsweet?

No. Client-First is Finsweet's class naming system. FlowPaste only follows its pattern for generated names.

Sources

Try it with your own code

Add to Chrome, it's free →