Urgent.News

What's breaking now, across thousands of outlets.

AI

DESIGN.mdとは?AIと進めるUIデザインの共有ガイド

要点 DESIGN.mdは、UIの見た目と判断理由を人とAIで共有する文書です 数値だけでなく、目指す印象や避けたい表現まで言葉にします さまざまなDESIGN.mdギャラリーサイトや生成方法があります 生成AIでUIのたたき台を作ることは以前より速くなりました。一方で、指示するたびに意図しない方向へ雰囲気が変わり、デザインプロセスが安定しない場面も増えています。そこで役立つのが、デザインの値と意図を一つのMarkdownファイルにまとめる DESIGN.md です。 DESIGN.mdとは Google Labs ではDESIGN.mdを「デザインシステムをAIエージェントへ永続的・構造的に伝える形式」と位置づけています。任意のYAML Front Matterに機械が扱いやすいデザイントークンを置き、Markdown本文に人が理解しやすい設計意図や適用方法を書く構成が示されています。…

DESIGN.md is a text file that allows for the sharing of both the appearance and reasoning behind a user interface, both by humans and AI. It goes beyond just listing numerical values; it includes the intended impression and expressions to avoid. There are various sources online for creating DESIGN.md files, but the exact method may vary.

The use of AI to generate UI layouts has become more common in recent times, yet the potential for unintended consequences remains, such as the AI deviating from the intended style over time. DESIGN.md offers a solution to this by consolidating design values and intentions into a single Markdown file. Google Labs describes it as a way to "persistently and structurally convey design systems to AI agents."

The file can include machine-friendly design tokens in the YAML Front Matter, alongside clear design intentions and application methods in the Markdown body. For example, specifying "rounded corners should be 8px" is insufficient without context on which components to apply them to, or if exceptions are allowed. Conversely, simply stating "make it user-friendly" can yield varying results.

By combining both values and reasons, AI finds it easier to make decisions, while humans can more easily review the output. It's important to note that DESIGN.md is not a replacement for existing design systems or a one-time prompt. Instead, it serves as a lightweight guide that can be easily integrated into a repository, making it simpler to locate necessary information.

Unlike prompts, which can lead to inconsistencies if not updated, DESIGN.md allows for consistent instructions across multiple screens or work sessions. The key is to have the file referenced automatically, which may require specific instructions in the tool or prompt. The structure of a DESIGN.md typically follows a specific order, starting with Overview, Colors, Typography, Layout, Elevation & Depth, Shapes, Components, and Do's and Don'ts.

However, not all sections need to be filled out initially. Starting with the three most critical sections - Target Impression, Frequently Used Values, and Boundaries - can provide a solid foundation for decision-making. In essence, DESIGN.md serves as a lightweight, shareable guide that helps bridge the gap between human design intent and AI interpretation, facilitating a more streamlined and creative design process.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in AI

More from Sunday 6 September →