Fluent UI Extensibility & Migration
Installation
SKILL.md
Fluent UI Extensibility & Migration — Knowledge Base
Overview
Fluent UI React v9 follows a composition over configuration philosophy. Rather than exposing hundreds of props on monolithic components, v9 decomposes each component into slots — named sub-parts that can be individually customized, replaced, or removed. This architecture delivers several advantages:
- Predictable DOM output — Each slot maps to a single DOM element, making the rendered output easy to reason about and style.
- Incremental customization — You start with zero-config defaults and add customization only where needed, at exactly the level of control you require.
- Type-safe extension — Slots carry full TypeScript types, so customization is validated at compile time.
- Tree-shakeable — Only the slots and hooks you use ship to the browser.
The extensibility model spans four key areas: