/fluent-ui-design:Fluent-2-Design-Systemfrom fluent-ui-design
Core knowledge base for Microsoft Fluent 2 design system — design tokens, color system, typography, layout, component library, theming, and accessibility patterns. Auto-activates on Fluent-related queries.
Ships in fluent-ui-design. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Fluent 2 is Microsoft's open-source design system powering Microsoft 365, Teams, Copilot, Windows,
and the broader Microsoft ecosystem. It provides a unified design language with design tokens,
a React component library (@fluentui/react-components), and platform-specific implementations
for Web, iOS, and Android.
Key packages:
@fluentui/react-components — Main component library (Fluent UI React v9)@fluentui/react-icons — Fluent icon system (filled + regular variants)@fluentui/tokens — Design token definitions@fluentui/react-theme — Theme definitions and brand ramp utilitiesDesign resources:
The design serves the content. Chrome, ornamentation, and UI framework recede so content takes center stage.
Every component must be accessible. WCAG 2.1 AA compliance is the floor, not the ceiling.
Products share tokens, components, and patterns — but each adapts them to its unique context.
Interfaces should reduce cognitive load. Motion is purposeful. Color draws focus, not distraction.
Fluent 2 works across web, mobile, and desktop. Design tokens abstract platform differences.
External resources:
Design tokens are the atomic values of the design system — named constants for colors, spacing, typography, shadows, border radii, and motion.
Fluent 2 uses a three-tier token architecture:
grey10, brandPrimary). Never used directly in components.colorNeutralBackground1). Theme-aware.Base unit: 4px. All spacing derives from this unit.
| Token | Value |
|---|---|
spacingHorizontalNone / spacingVerticalNone | 0px |
spacingHorizontalXXS / spacingVerticalXXS | 2px |
spacingHorizontalXS / spacingVerticalXS | 4px |
spacingHorizontalSNudge / spacingVerticalSNudge | 6px |
spacingHorizontalS / spacingVerticalS | 8px |
spacingHorizontalMNudge / spacingVerticalMNudge | 10px |
spacingHorizontalM / spacingVerticalM | 12px |
spacingHorizontalL / spacingVerticalL | 16px |
spacingHorizontalXL / spacingVerticalXL | 20px |
spacingHorizontalXXL / spacingVerticalXXL | 24px |
spacingHorizontalXXXL / spacingVerticalXXXL | 32px |
| Token | Value |
|---|---|
borderRadiusNone | 0px |
borderRadiusSmall | 2px |
borderRadiusMedium | 4px |
borderRadiusLarge | 6px |
borderRadiusXLarge | 8px |
borderRadiusCircular | 10000px |
| Token | Usage |
|---|---|
shadow2 | Subtle lift (cards at rest) |
shadow4 | Light elevation (dropdowns) |
shadow8 | Medium elevation (popovers) |
shadow16 | High elevation (dialogs) |
shadow28 | Highest elevation (teaching callouts) |
shadow64 | Maximum elevation |
Font family: 'Segoe UI Variable', 'Segoe UI', system-ui, sans-serif
| Token | Size | Line Height |
|---|---|---|
fontSizeBase100 | 10px | 14px |
fontSizeBase200 | 12px | 16px |
fontSizeBase300 | 14px | 20px |
fontSizeBase400 | 16px | 22px |
fontSizeBase500 | 20px | 28px |
fontSizeBase600 | 24px | 32px |
fontSizeHero700 | 28px | 36px |
fontSizeHero800 | 32px | 40px |
fontSizeHero900 | 40px | 52px |
fontSizeHero1000 | 68px | 92px |
Font weights: fontWeightRegular (400), fontWeightMedium (500), fontWeightSemibold (600), fontWeightBold (700)
| Token | Value |
|---|---|
durationUltraFast | 50ms |
durationFaster | 100ms |
durationFast | 150ms |
durationNormal | 200ms |
durationGentle | 250ms |
durationSlow | 300ms |
durationSlower | 400ms |
durationUltraSlow | 500ms |
External resources:
Backgrounds:
colorNeutralBackground1 — Primary surfacecolorNeutralBackground2 — Secondary surfacecolorNeutralBackground3 through 6 — Tertiary+colorSubtleBackground — Transparent at rest, visible on hovercolorTransparentBackground — Fully transparentForegrounds:
colorNeutralForeground1 — Primary text (high contrast)colorNeutralForeground2 — Secondary textcolorNeutralForeground3 — Tertiary textcolorNeutralForegroundDisabled — Disabled textStrokes:
colorNeutralStroke1 — Primary bordercolorNeutralStrokeAccessible — AA-contrast bordercolorNeutralStrokeDisabled — Disabled borderBrand tokens use a 16-shade ramp (shade10 through shade160) generated from a primary color:
import { createLightTheme, createDarkTheme, BrandVariants } from '@fluentui/react-components';
const myBrand: BrandVariants = {
10: '#020305', 20: '#111723', 30: '#16212F', 40: '#1B2C3D',
50: '#1F374B', 60: '#24425A', 70: '#284D69', 80: '#2D5979',
90: '#366B8E', 100: '#437DA3', 110: '#548FB7', 120: '#6BA1C9',
130: '#85B3D7', 140: '#A1C5E3', 150: '#BFD7ED', 160: '#DDE9F6',
};
const lightTheme = createLightTheme(myBrand);
const darkTheme = createDarkTheme(myBrand);
| Token | Usage |
|---|---|
colorStatusSuccessBackground1 / Foreground1 | Success states |
colorStatusWarningBackground1 / Foreground1 | Warning states |
colorStatusDangerBackground1 / Foreground1 | Error/danger states |
| Size Class | Range | Typical Use |
|---|---|---|
small | 320–479px | Phone portrait |
medium | 480–639px | Phone landscape / small tablet |
large | 640–1023px | Tablet |
x-large | 1024–1365px | Small desktop / laptop |
xx-large | 1366–1919px | Desktop |
xxx-large | 1920px+ | Large desktop / ultrawide |
External resources:
The @fluentui/react-components package provides the full Fluent UI React v9 component library.
| Category | Components |
|---|---|
| Actions | Button, CompoundButton, SplitButton, ToggleButton, MenuButton, Link |
| Inputs | Input, Textarea, Select, Combobox, Dropdown, SearchBox, SpinButton, Slider, Switch, Checkbox, RadioGroup, DatePicker, TimePicker, ColorPicker, Rating |
| Layout | Card, CardHeader/Footer/Preview, Divider, Drawer, Dialog, Accordion, TabList/Tab, Toolbar, Breadcrumb |
| Data Display | Avatar, AvatarGroup, Badge, CounterBadge, PresenceBadge, Tag/TagGroup, DataGrid, Table, Tree, Persona, Text, Label, InfoLabel |
| Feedback | Toast/Toaster, MessageBar, ProgressBar, Spinner, Skeleton, Alert |
| Navigation | Menu/MenuItem/MenuList, Nav/NavItem, Overflow/OverflowItem |
| Overlays | Popover, Tooltip, TeachingPopover, InfoButton |
| Media | Image |
All Fluent components must be wrapped in a FluentProvider:
import { FluentProvider, webLightTheme } from '@fluentui/react-components';
<FluentProvider theme={webLightTheme}>
<App />
</FluentProvider>
Built-in themes: webLightTheme, webDarkTheme, teamsLightTheme, teamsDarkTheme, teamsHighContrastTheme
<FluentProvider theme={webLightTheme}>
<MainContent />
<FluentProvider theme={webDarkTheme}>
<Sidebar />
</FluentProvider>
</FluentProvider>
prefers-reduced-motion supportFocus utilities:
import { useArrowNavigationGroup, useFocusableGroup } from '@fluentui/react-components';
Package: @fluentui/react-icons — 20,000+ icons in Regular (outline) and Filled styles.
Sizes: 16px, 20px, 24px, 28px, 32px, 48px. Default export = 20px.
import { CalendarRegular, CalendarFilled, bundleIcon } from '@fluentui/react-icons';
const CalendarIcon = bundleIcon(CalendarFilled, CalendarRegular);
For detailed coverage of specific topics, see these dedicated skills:
| Skill | Topics |
|---|---|
| fluent-nextjs | Next.js App Router + Pages Router setup, SSR, use client boundaries, Griffel AOT with Next.js |
| fluent-griffel | makeStyles deep dive, AOT compilation, shorthands, selectors, RTL, DevTools |
| fluent-extensibility | Slots (4 levels), custom variants, customStyleHooks, headless patterns, v8→v9 migration |
| fluent-web-components | Web Components (@fluentui/web-components), framework-agnostic usage |
| fluent-charting | @fluentui/react-charting — chart types, theming, accessibility |
| fluent-cross-platform | iOS (Swift/UIKit) and Android (Kotlin) Fluent implementations |
| fluent-forms | Form orchestration with Formik/Yup, React Hook Form/Zod, Field validation |
| fluent-integration | B2C UI customization, Office Add-ins, SharePoint integration |
${CLAUDE_PLUGIN_ROOT}/skills/fluent-design-system/references/design-tokens-reference.md — Complete token catalog${CLAUDE_PLUGIN_ROOT}/skills/fluent-design-system/references/component-catalog.md — All components with props${CLAUDE_PLUGIN_ROOT}/skills/fluent-design-system/references/teams-integration.md — Teams multi-surface architecture${CLAUDE_PLUGIN_ROOT}/skills/fluent-design-system/references/advanced-patterns.md — Advanced UI patterns${CLAUDE_PLUGIN_ROOT}/skills/fluent-design-system/references/motion-framer-reference.md — Motion system deep dive${CLAUDE_PLUGIN_ROOT}/skills/fluent-design-system/examples/theme-examples.md — Theme creation walkthroughs${CLAUDE_PLUGIN_ROOT}/skills/fluent-design-system/examples/layout-patterns.md — Responsive layout examplesexamples/layout-patterns.md (opens in a new tab)examples/theme-examples.md (opens in a new tab)references/advanced-patterns.md (opens in a new tab)references/component-catalog.md (opens in a new tab)references/design-tokens-reference.md (opens in a new tab)references/motion-framer-reference.md (opens in a new tab)references/teams-integration.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub thelobbi/claude-m --plugin fluent-ui-design9 skills in this plugin
/Fluent-UI-ChartingFluent UI ChartingData visualization with @fluentui/react-charting — LineChart, BarChart, PieChart, DonutChart, AreaChart, HeatMapChart, SankeyChart, TreeChart, GaugeChart, theming integration, responsive patterns, and accessibility in charts.
/Fluent-UI-Cross-PlatformFluent UI Cross-PlatformFluent UI for iOS (Swift/UIKit) and Android (Kotlin) — platform setup, component catalogs, design token parity, CocoaPods/SPM for iOS, Gradle for Android, and Figma design kits for each platform.
/Fluent-UI-Extensibility---MigrationFluent UI Extensibility & MigrationExtending and customizing Fluent UI React v9 — slots (4 levels of customization), custom variants, customStyleHooks, headless/unstyled patterns, custom component authoring, and comprehensive v8 to v9 migration guide with component mapping and incremental coexistence strategy.
/Fluent-UI-FormsFluent UI FormsForm orchestration with Fluent UI React v9 — Field component, validation display, Formik + Yup integration, React Hook Form + Zod integration, multi-step wizard patterns, and accessible form design.
/Fluent-UI-Griffel-StylingFluent UI Griffel StylingDeep knowledge of Griffel CSS-in-JS for Fluent UI React v9 — makeStyles, makeResetStyles, shorthands, mergeClasses, conditional styles, AOT compilation (webpack + Vite), selector performance, RTL support, icon styling, slot-based styling, CSS variables, and DevTools.
/Fluent-UI-Integration-PatternsFluent UI Integration PatternsIntegrating Fluent UI with Azure AD B2C custom UI, Office Add-ins (Excel, Word, Outlook task panes), SharePoint/M365 web apps, and navigation patterns (Nav, Drawer components).
Other plugins' skills for the same job