Section Builder
Turn approved designs into editable Webflow sections using SML's existing development components.
Section Builder takes a screenshot or visual reference, translates it into a structured layout, and assembles that layout directly in Webflow.
It works with the development components already available in your project. It doesn't create new classes, generate styling rules, or introduce its own design system.
How it works
Step
What happens
1. Initialize
The agent inspects your project's development components and creates a Section Builder registry.
2. Provide a design
Supply a screenshot or visual reference of the section you want to create.
3. Build
The agent generates and validates the DSL internally, then assembles the section in Webflow.
4. Refine
Review the result in the Webflow Designer and make any necessary adjustments.
5. Close
Manually convert the finished section into a closed component with the properties marketers need.
Before you start
Section Builder requires:
- An Webflow project created from the SML clonable, with the __dev components and variables adjusted to match the design.
- Webflow MCP connected to your AI agent.
- The SML Section Builder skill installed in your AI agent.
- A screenshot or visual reference of the section you want to build.
Section Builder generates a project-specific registry containing the available development components and their properties, variants, and configurations. This allows the skill to work with the exact setup of your project rather than a generic SML configuration.
1. Initialize the registry
Before building your first section, the agent needs to understand the development components available in your Webflow project.
Ask your AI agent to initialize the registry:
Initialize the SML Section Builder registry for Webflow site ID [SITE ID].
The agent inspects your components and records their structure, properties, variants, slots, and identifiers.
The registry is specific to your Webflow project and can be reused for subsequent builds.
If you make significant changes to your development components, regenerate the registry so the agent works with the latest configuration.
2. Provide a design
Attach a screenshot or design reference of the section you want to build.
Then ask your agent:
Build this section in Webflow site ID [SITE ID] using the SML Section Builder skill.
The screenshot provides the visual direction. The agent determines how to reproduce that design using your project's existing SML components.
You don't need to describe the layout in terms of Rows, Columns, or individual components. Translating the design into SML's structure is the skill's job.
The agent can also inspect your project's component catalogue at /stylesheet/components to understand the available building blocks.
3. Build the section
Section Builder translates your screenshot into a structured DSL (Domain-Specific Language) plan using the available SML development components.
The agent validates this plan and uses it to assemble the section in Webflow, without requiring approval.
If you want to inspect or adjust the structure before building, you can explicitly request a DSL preview.
Show me the DSL before building.
The section is created on the stylesheet components page using existing SML development components and their properties.
If a requested detail cannot be achieved with the available components, the agent identifies the limitation rather than introducing custom styling or new elements.
4. Review and refine
Open the section in the Webflow Designer and compare it with the original reference.
Because the section uses existing SML development components, you can easily make adjustments through their properties and variants.
5. Convert the section into a closed component
Section Builder creates the layout, but does not automatically convert it into a closed component suitable for Marketing Teams.
That remains a manual development step.
Once the section is finished, convert it into a reusable Webflow component and expose only the properties marketers should be able to edit.
See Build Mode for more information about preparing components for marketers.
Working within SML
Section Builder follows the conventions established by your project's components and registry.
It uses the available development components rather than creating its own HTML structure or styling system.
This also means that not every detail from a screenshot can necessarily be reproduced with the existing components.
If something is missing, you can extend the SML system manually and update the registry before continuing.
The result is a section built with the same components and conventions you would use yourself, ready for further refinement and eventual handover to marketers.