> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://developers.webflow.com/designer/reference/elements/attributes/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developers.webflow.com/_mcp/server. # Attributes (beta) > Get, set, and remove attributes on elements, with support for bindings and index-based access. These methods let you read and write attributes on elements using array-based access and binding support. Both attribute names and values can be plain strings or `BindingValue` references bound to variables or component props. These methods can write both standard HTML attributes and [custom attributes](https://help.webflow.com/hc/en-us/articles/33961389460115). To use the methods below, choose an element with a `CustomAttributes` property of `true`. Using these methods with elements that don't have this property will return an error. To use the methods below, choose an element with a `attributes` property of `true` Using these methods with elements that don't have this property returns an error. > **Beta** > > These methods are in public beta and may change with future releases. ## Methods #### [Get Attributes](/designer/reference/attributes/getAttributes) Get all attributes as an array of name/value pairs, including binding references. #### [Get Resolved Attributes](/designer/reference/attributes/getResolvedAttributes) Get all attributes with bindings resolved to their current values. #### [Set Attributes](/designer/reference/attributes/setAttributes) Replace all attributes on an element with a provided array of attribute names and values. #### [Set Attribute](/designer/reference/attributes/setAttribute) Set a single attribute by name or index. #### [Get Attribute Value](/designer/reference/attributes/getAttributeValue) Get the value of a single attribute by name or index. #### [Get Resolved Attribute Value](/designer/reference/attributes/getResolvedAttributeValue) Get the resolved value of a single attribute by name. #### [Remove Attribute](/designer/reference/attributes/removeAttribute) Remove a single attribute by name or index. > Get, set, and remove attributes on elements, with support for bindings and index-based access. ## Docs - [Get attributes (Beta)](https://developers.webflow.com/designer/reference/attributes/getAttributes.md): Get all attributes on an element as an array of name/value pairs. - [Get resolved attributes (Beta)](https://developers.webflow.com/designer/reference/attributes/getResolvedAttributes.md): Get all attributes on an element with bindings resolved to their current values. - [Set attributes (Beta)](https://developers.webflow.com/designer/reference/attributes/setAttributes.md): Replace all attributes on an element with a provided array of attribute names and values. - [Set attribute (Beta)](https://developers.webflow.com/designer/reference/attributes/setAttribute.md): Set a single attribute on an element by name or index. - [Get attribute value (Beta)](https://developers.webflow.com/designer/reference/attributes/getAttributeValue.md): Get the value of a single attribute on an element by name or index. - [Get resolved attribute value (Beta)](https://developers.webflow.com/designer/reference/attributes/getResolvedAttributeValue.md): Get the resolved value of a single attribute on an element, with any binding evaluated. - [Remove attribute (Beta)](https://developers.webflow.com/designer/reference/attributes/removeAttribute.md): Remove a single attribute from an element by name or index.