fluentui
Skill5 starsChanged 49 days agoMITView on GitHub
Use when building React user interfaces with FluentUI React v9 (for example Button, Input, Dialog, DataGrid, FluentProvider, makeStyles, tokens). Covers setup, theming, styling, accessibility, component APIs, and task recipes, with verified examples from the real package.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- microsoft/vscode-documentdbtheir own version, first seen Nov 6, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- microsoft/vscode-documentdb★ 33same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repositoryOne other file it gives its agents.
- AGENTS.mdAGENTS.md
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 4 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 20
Check the installed version first: Run npm ls @fluentui/react-components (or read package.json) before writing code.
- Very specific: line 26
Never invent a prop: If a prop is not listed on the component's reference page, do not pass it.
- Very specific: line 33
Style with Griffel and tokens: Use makeStyles and the design tokens in tokens, not hard-coded colors or spacing.
- Very specific: line 36
Accessibility is part of the task: Every interactive element needs a label, keyboard support, and correct roles.
- Distinctive: line 43
not covered by this skill version: instead of guessing.
- Distinctive: line 102
Read the reference page before writing component code.
- Distinctive: line 103
Keep imports at the top and use the public entry points.
- Distinctive: line 104
Prefer composition and tokens over custom CSS.
- Very specific: line 105
When unsure, search references/index.md for the component or task name.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
FluentUI React v9
This skill teaches you to build user interfaces with FluentUI React v9. The
knowledge base is bundled offline: every component page, category guide, and
task recipe lives under references/ next to this file. Read the relevant
reference before writing code, and copy patterns from the verified examples
rather than guessing.
Hard rules
- Check the installed version first. Run
npm ls @fluentui/react-components(or readpackage.json) before writing code. This skill targets v9. - Import from the documented entry points. Components come from
@fluentui/react-components; icons come from@fluentui/react-icons. Do not import from an internal@fluentui/react-*package unless a reference page says to. - Never invent a prop. If a prop is not listed on the component's reference
page, do not pass it. Look up the real name in
references/components/<component>.md. - Prefer the verified examples. Each component page renders examples taken from FluentUI's own Storybook source. Start from one of those and adapt it.
- Wrap the tree in
FluentProvider. Theming, tokens, and right-to-left all depend on it. Seereferences/foundation/fluent-provider.md. - Style with Griffel and tokens. Use
makeStylesand the design tokens intokens, not hard-coded colors or spacing. Seereferences/foundation/styling-griffel.md. - Accessibility is part of the task. Every interactive element needs a
label, keyboard support, and correct roles. See
references/foundation/accessibility.md. - Disclose the covered version and stay inside it. Answer from what this
skill version covers — see
## Source & versionsinreferences/index.md. State the covered Fluent UI version, list the reference files you used, and if a component, prop, or API is not present in the references, say it is not covered by this skill version instead of guessing.
How to route a task
| If the task is about… | Read |
| Setting up a project, imports, or the provider | references/foundation/getting-started.md, references/foundation/fluent-provider.md |
| Theming, dark mode, tokens, or RTL | references/foundation/theming.md, references/quick-reference/styling-tokens.md |
| Writing styles with Griffel | references/foundation/styling-griffel.md |
| A specific component's props or examples | references/components/<component>.md |
| A whole class of controls (all buttons, all inputs) | references/categories/<category>.md |
| A concrete job such as a login form or a data table | references/recipes/<group>/<recipe>.md |
| A short cheat sheet or checklist | references/quick-reference/<topic>.md |
| An overview of everything available | references/index.md |
Component map
Components are grouped into eight categories. Read the category page for shared guidance, then the component page for exact props and examples.
| Category | Reference | Typical components |
| Buttons | references/categories/buttons.md | Button, CompoundButton, MenuButton, SplitButton, ToggleButton |
| Forms | references/categories/forms.md | Input, Textarea, Checkbox, Radio, Select, Switch, Slider |
| Navigation | references/categories/navigation.md | TabList, Breadcrumb, Link, NavDrawer |
| Data display | references/categories/data-display.md | DataGrid, Table, Tree, Badge, Avatar |
| Feedback | references/categories/feedback.md | Spinner, ProgressBar, Toast, MessageBar |
| Overlays | references/categories/overlays.md | Dialog, Drawer, Menu, Popover, Tooltip |
| Layout | references/categories/layout.md | Card, Divider, Grid, Toolbar |
| Utilities | references/categories/utilities.md | Accordion, Portal, and remaining components |
The full, always-current list is generated into references/index.md.
Common recipes
These walk through a complete, working composition. Each lists the components it uses and renders full examples.
references/recipes/forms/login-form.md— a labelled, validated login form.references/recipes/data/data-table.md— a sortable, paginated data table.references/recipes/navigation/tabs.md— tabbed in-page navigation.references/recipes/modals/confirm-dialog.md— a confirmation dialog with a focus trap.references/recipes/layout/dashboard-shell.md— an application shell with a sidebar and content area.
The complete set of nineteen recipes is indexed in references/index.md.
Assets
assets/templates/ holds starting points you can copy into a project:
minimal-app.md— the smallest correct FluentUI app.form.md— a form with validation.dashboard-shell.md— an app shell with navigation.admin-crud.md— a list-and-edit admin screen.
Working agreement
- Read the reference page before writing component code.
- Keep imports at the top and use the public entry points.
- Prefer composition and tokens over custom CSS.
- When unsure, search
references/index.mdfor the component or task name.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

