LearnDesign System InsightsSwitch toFullFixedComponent Tagging StrategiesMethods for identifying and tracking design system components in production codeCore Insight: Tag components to enable gradual migration and automated tracking Copy linkWhen to Apply Legacy system migration → Updating existing products graduallyAdoption measurement → Tracking design system usageComponent auditing → Understanding current component landscape Copy linkWhy This Works ✓ Gradual migration - Lukas (Microsoft): "Adoption slows when teams hesitate to rework entire products"✓ Automated tracking - Enables tools to identify design system components✓ Searchable codebase - Easy to find and update components across applications✓ Testing integration - Data attributes work excellently for automated testing Copy linkAlternative Approaches Generic HTML elements - Simpler to implement → Impossible to track or migrate systematicallyCustom CSS classes only - Works for styling → Doesn't provide component metadataManual tracking - Full control → Doesn't scale, becomes outdated quickly Copy linkQuick Example example.htmlCopy codeCopy code<!-- Class-based (Fluent UI) --><button type="button" class="fui-Button r1alrhcs">Click me</button> <!-- Element renaming (Nord) --><nord-input id="email" label="Email"></nord-input> <!-- Data attributes (Carbon) --><div class="c4d--masthead" data-autoid="c4d--masthead__navigation"></div> Copy linkRelated Insights Markdown Documentation Strategy - Documenting tagged componentsMultiple Themes - Managing tags across theme variations Sources: Microsoft Fluent 2 Session • March 2025
Component Tagging Strategies
Core Insight: Tag components to enable gradual migration and automated tracking
Sources: Microsoft Fluent 2 Session • March 2025