For AI agents: a documentation index is available at the root level at /llms.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
LogoLogo
Resources
Get started
    • Overview
  • APIs and SDKs
    • Data API
    • Designer API
    • Browser API
  • Developer tools
    • MCP Server
    • Webflow Apps
    • Webflow CLI
    • DevLink
    • Webflow Cloud
    • Flowkit CSS Framework
    • Changelog
  • Overview
  • Changelog
  • July 1, 2026
  • June 24, 2026
  • June 16, 2026
  • June 9, 2026
  • June 8, 2026
  • June 1, 2026
  • May 29, 2026
  • May 21, 2026
  • May 21, 2026
  • May 18, 2026
  • May 12, 2026
  • May 6, 2026
  • May 5, 2026
  • May 5, 2026
  • April 30, 2026
  • April 30, 2026
  • April 30, 2026
  • April 29, 2026
  • April 28, 2026
  • April 28, 2026
  • April 28, 2026
  • April 27, 2026
  • April 26, 2026
  • April 24, 2026
  • April 24, 2026
  • April 21, 2026
  • April 17, 2026
  • April 17, 2026
  • April 17, 2026
  • April 15, 2026
  • April 14, 2026
  • April 8, 2026
  • April 1, 2026
  • March 27, 2026
  • March 24, 2026
  • March 18, 2026
  • March 18, 2026
  • March 17, 2026
  • March 16, 2026
  • March 13, 2026
  • March 11, 2026
  • March 9, 2026
  • March 6, 2026
  • March 4, 2026
  • March 3, 2026
  • March 3, 2026
  • March 2, 2026
  • February 27, 2026
  • February 18, 2026
  • February 5, 2026
  • February 4, 2026
  • January 29, 2026
  • January 28, 2026
  • January 21, 2026
  • January 17, 2026
  • January 13, 2026
  • December 17, 2025
  • December 17, 2025
  • December 16, 2025
  • December 10, 2025
  • December 10, 2025
  • December 9, 2025
  • November 24, 2025
  • November 6, 2025
  • October 21, 2025
  • October 8, 2025
  • September 4, 2025
  • September 4, 2025
  • August 12, 2025
  • August 9, 2025
  • August 8, 2025
  • August 8, 2025
  • August 8, 2025
  • July 25, 2025
  • July 16, 2025
  • June 25, 2025
  • June 23, 2025
  • May 15, 2025
  • May 13, 2025
  • May 8, 2025
  • May 8, 2025
  • May 8, 2025
  • April 8, 2025
  • April 8, 2025
  • April 8, 2025
  • March 12, 2025
  • March 12, 2025
  • March 12, 2025
  • February 28, 2025
  • February 28, 2025
  • February 5, 2025
  • February 5, 2025
  • February 5, 2025
  • January 16, 2025
  • January 16, 2025
  • January 16, 2025
  • December 17, 2024
  • December 17, 2024
  • December 17, 2024
  • December 16, 2024
  • November 21, 2024
  • November 21, 2024
  • October 23, 2024
  • October 1, 2024
  • October 1, 2024
  • September 17, 2024
  • September 17, 2024
  • August 22, 2024
  • August 22, 2024
  • August 22, 2024
  • August 9, 2024
  • August 9, 2024
  • July 25, 2024
  • July 25, 2024
  • June 18, 2024
  • June 18, 2024
  • May 1, 2024
  • May 1, 2024
  • February 22, 2024
  • February 21, 2024
  • February 20, 2024
  • October 5, 2023
  • August 25, 2023
  • August 24, 2023
  • August 23, 2023
  • March 15, 2023
  • January 20, 2023
  • September 22, 2022
  • August 7, 2022
  • July 28, 2022
  • June 23, 2022
  • June 21, 2022
  • June 16, 2022
  • May 27, 2022
  • May 12, 2022
  • March 31, 2022
  • March 31, 2020
  • February 2, 2017
  • November 30, 2016
Resources
Get started

Changelog

March 13, 2026
March 13, 2026

Renaming exported custom attributes

Similar to how it renames exported components and props, DevLink now renames or filters out exported custom attributes to ensure that the exported React code is valid.

  • HTML5 standard names such as tabindex and maxlength are capitalized according to React standards, in this example tabIndex and maxLength
  • Attributes that have a React equivalent, such as class and for, are converted to the React equivalent, in this example className and htmlFor
  • Attributes that match event handler names such as onClick and onMouseOver are filtered out, regardless of case
  • Attributes that start with numbers are filtered out
  • Attributes that are incomplete, such as data- and aria- are filtered out
  • Attributes named with an empty string are filtered out
  • Attributes containing invalid characters, such as my-😀-attr, are filtered out
  • Any other invalid HTML5 attributes are filtered out

DevLink prints a warning to your CLI console, and adds JSDoc Invalid Attribute comments, when it filters out attributes due to these rules, except when removing attributes with an empty string as their name. For example, this exported code shows a warning about a custom attribute that was filtered out:

1/**
2 * ComponentWithInvalidAttributes
3 *
4 * @warning
5 * The component could not be fully exported:
6 * - Invalid attribute: \`onClick\`
7 */
8export function ComponentWithInvalidAttributes() {
9 return <Builtin.Block tag="div" data-testid="my-block" aria-label="My Block" />;
10}

For more information, see What DevLink Exports.

Was this page helpful?
Previous

Bulk update page metadata

Bulk update page metadata
Next
Built with