What is Infa
Infa Chrome Extension
How to use and install our Chrome Extension
Community
Browse community design systems
Release Notes
Featuring the latest changes to keep you up-to-date
Research Program
Participate in shaping the future of Infa
SOC 2 Type II Compliance Badge
Enterprise Ready
SOC 2 Type II certified for enterprise-level security and compliance
EventsLearnPricing
Sign up for free

Feedback

Share your feedback

Close
Anonymous submissions are auto-posted to #feedback channel. You can also share directly in Slack.

Need help?

Reach out to contact@infa.ai or see docs

Navigation
Search...
⌘ K
Focus sentinel
Close

Search Documentation

PressESCto close
Focus sentinel
Learn
  • Playbooks
    • First 90 Days
      • Phase 1: Discovery & Orientation
      • Org Structure & Stakeholder Mapping
      • Products Map
      • Success Metrics & OKRs
      • Foundations Setup
      • Phase 2: Strategy Development
      • Communication Plan
      • Adoption Roadmap
      • Feedback Synthesis Framework
      • Phase 3: Execution & Optimization
      • Value Delivery Framework
      • Optimization Systems
      • Sustainability Planning
  • Design Systems
    • Design System Stages
    • Maturity Model
    • Process Map
    • Design System Roles
  • Insights
    • Ai Ready Documentation
    • Component Tagging Strategies
    • Interactive Documentation Strategies
    • Markdown Documentation Strategy
    • Multiple Themes
    • Props Vs Slots
  • Highlights
    • Component Classification Framework
    • Documentation Evolution Stages
    • Markdown Universal Language
    • Performance Optimization Insights
Switch to Light theme
Switch to Dark theme
TermsPrivacyChat with Us
  1. Learn
  2. Design System Insights

Component Tagging Strategies

Methods for identifying and tracking design system components in production code

Core Insight: Tag components to enable gradual migration and automated tracking

Copy link
When to Apply

  • Legacy system migration → Updating existing products gradually
  • Adoption measurement → Tracking design system usage
  • Component auditing → Understanding current component landscape

Copy link
Why 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 link
Alternative Approaches

  • Generic HTML elements - Simpler to implement → Impossible to track or migrate systematically
  • Custom CSS classes only - Works for styling → Doesn't provide component metadata
  • Manual tracking - Full control → Doesn't scale, becomes outdated quickly

Copy link
Quick Example

example.html
Copy code
Copy 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 link
Related Insights

  • Markdown Documentation Strategy - Documenting tagged components
  • Multiple Themes - Managing tags across theme variations

Sources: Microsoft Fluent 2 Session • March 2025

Content Feedback

Feedback on selected content

Close
Anonymous submissions are auto-posted to #feedback channel. You can also share directly in Slack.

Need help?

Reach out to contact@infa.ai or see docs