LogoLogo
  • What is UDML?
  • Document structure
    • <components>
    • <imports>
    • <instructions>
    • <meta>
    • <styles>
    • <tokens>
    • <mappings>
    • <screens>
  • Directives
    • ai-hint
    • <data> Directive Specification
    • <interaction> Directive
    • <layer> Directive
    • <repeat> Directive
    • <responsive>
    • selection
    • <tracking> Directive
  • Components
    • Layout
      • <accordion> Component
      • <box> Component
      • <column> Component
      • <divider>
      • <grid> Component
      • <row> Component
    • Navigation
      • <breadcrumbs> Component
      • <pagination> Component
      • <tab> Component
      • <tabs> Component
    • Text & Display
      • <avatar>
      • <heading>
      • <icon>
      • <image>
      • <label>
      • <text>
      • <video>
    • Controls & Input
      • <button>
      • <checkbox>
      • <input> Component
      • <radio>
      • <select>
      • <slider>
      • <stepper>
      • <switch>
      • <textarea>
    • Forms
      • <form> Component
      • <formField> Component
      • <formGroup> Component
    • Data Collections
      • <dataColumn> Component
      • <dataTable> Component
      • <list> Component
      • <timeline> Component
      • <treeView> Component
    • Data Visualization
      • <chart> Component
      • <summary> Component
    • Modals
      • <dialog> Component
      • <modal> Component
      • <popover> Component
      • <toast> Component
      • <tooltip> Component
  • Prompting Guides
    • Prompting AI Developer Tools with UDML
    • Working with UDML in an Existing Codebase
  • Contributing to UDML
Powered by GitBook
On this page
  • 🧠 Purpose
  • 🛠 Syntax
  • 🔑 Common Child Tags
  • 🧩 AI Interpretation Guidelines
  • ✅ Example
Edit on GitHub
  1. Document structure

<meta>

The <meta> section contains structured metadata about the project, including author, environment preferences, and system-level context for AI interpretation.


🧠 Purpose

To communicate structured project-level info to AI agents, such as:

  • Author and team identity

  • Preferred libraries or platforms

  • Target audience or device type


🛠 Syntax

<meta>
  <author name="Jane Doe"/>
  <project name="InventoryApp"/>
  <preferredLibrary>React</preferredLibrary>
</meta>
  • Each child tag contains key-value metadata.

  • No nested elements inside metadata entries.


🔑 Common Child Tags

Tag
Attributes
Description

<author>

name

Name of the creator or team

<project>

name

The name of the project or app

<preferredLibrary>

text content

e.g., React, Vue, Flutter


🧩 AI Interpretation Guidelines

  • Use preferredLibrary to guide code generation.

  • author and project may be used for documentation, licensing, or branding.

  • Future additions could include device targets, accessibility goals, or localization hints.


✅ Example

<meta>
  <author name="Jane Doe"/>
  <project name="QuickCRM"/>
  <preferredLibrary>Vue</preferredLibrary>
</meta>
Previous<instructions>Next<styles>

Last updated 2 months ago