CoDesignFloDocs How it works Pricing Compare GitHub Sign in

Docs › For developers

Naming elements

Live pairs the app's elements with the designer's layers. Giving elements the same names makes that pairing exact.

tsx
<header data-cdf="Top bar">
  <h1 data-cdf="Title">Inbox</h1>
</header>
  • pair_design lists a design's layer names and nesting, for a page built on the designer's design.
  • Names only: they don't change how the app looks or behaves.
  • codesignflo name names unnamed elements with Claude Code.