Logo
Logo

Fundamental Elements

Fundamental Elements are a small set of Breakdance elements designed for AI agents. When an agent builds ordinary page structure from HTML and CSS, Breakdance maps that structure to Fundamentals. If the page needs a specialized feature, such as a form or gallery, the agent can use the corresponding Breakdance element instead when explicitly instructed to do so

When building by hand, use the regular Breakdance elements. Fundamentals are intended for agent-built pages and are not a replacement for the rest of the element library.

Each Fundamental remains a separate Breakdance element. You can select it in the builder and change its content and settings. Its visual styles are managed through Breakdance selectors.

Editing a page built with Fundamentals

Content and Settings controls work like they do on other Breakdance elements. To change a Fundamental’s appearance, open Settings > Advanced > Classes and edit the applied selector. Fundamental OEmbed is the exception, with Design controls for its iframe aspect ratio, width, and height.

Fundamentals also support Breakdance’s shared element settings, including Conditions, Animations, Override Variables, and Interactions.

Reference for AI agents

The rest of this article documents how AI agents should use Fundamental Elements when building in Breakdance.

General rules

  • Use Fundamentals for ordinary semantic HTML structure that can be represented with containers, text, links, images, media, embeds, or code.
  • Use the corresponding Breakdance element when the request depends on a specialized feature such as Form Builder or Gallery.
  • Choose the appropriate semantic HTML tag for structural and text elements.
  • Apply classes and place visual styles in Breakdance selectors. Do not expect element-specific Design controls.
  • Keep link structure valid. Never place a link inside a Container Link.
  • Use Breakdance Interactions for supported behavior before adding custom JavaScript.

Element reference

Container

Use Container for sections, groups, layout wrappers, and other structural HTML that does not act as a link. A Container can hold other elements. Set the appropriate HTML tag under Settings > Advanced > Tag.

Container Link

Use Container Link when an entire group should act as one link, such as a linked card. Set its URL and whether it opens in a new tab. Do not place a Text Link, Container Link, or another link inside it.

Fundamental Text

Use Fundamental Text for an individual heading, paragraph, label, or another short text node. Its multiline content field supports simple inline HTML. Set the semantic HTML tag under Settings > Advanced > Tag.

Fundamental Rich Text

Use Fundamental Rich Text when one element needs to contain several paragraphs, headings, lists, links, or inline formatting. Use Fundamental Text when the content is a single text node.

Fundamental Text Link

Use Fundamental Text Link for a text link that does not need to contain other elements. Set its text, URL, and whether it opens in a new tab.

Fundamental Image

Use Fundamental Image for an image from the WordPress Media Library or an image URL. Set accurate alt text. Its controls also support lazy loading and disabling the generated srcset and sizes attributes when required.

Fundamental SVG Icon

Use Fundamental SVG Icon for an icon that should remain an editable SVG Icon element in Breakdance.

Fundamental HTML5 Video

Use Fundamental HTML5 Video for native HTML video. Configure the video file, looping, autoplay, mute, browser controls, and inline playback through its Content controls.

Fundamental OEmbed

Use Fundamental OEmbed for content that WordPress can embed from a URL through oEmbed. It is the only Fundamental with element-specific Design controls: Force Iframe Aspect Ratio, Width, and Height.

Fundamental HTML Code

Use Fundamental HTML Code when markup should remain one raw HTML block instead of becoming a tree of separate Breakdance elements. Do not use it for ordinary page structure that Fundamentals can represent directly. The builder label can be disabled or replaced with a custom label.

Fundamental JavaScript Code

Use Fundamental JavaScript Code only when code must run on the page and regular elements or Breakdance Interactions cannot provide the required behavior. Execute runs the code in the builder preview. The builder label can be disabled or replaced with a custom label.

Styling and shared settings

Except for Fundamental OEmbed, Fundamentals do not have element-specific Design controls. Apply classes to the element and manage their styles through the Selectors system.

Fundamentals support shared settings such as Conditions, Animations, Override Variables, and Interactions. Depending on the element, Advanced can also include custom CSS, classes, an ID, HTML attributes, and an HTML tag.

Meet Breakdance: The Best Visual Builder for WordPress
faces
Join thousands of freelancers and agencies who are working better and faster using Breakdance