Repository navigation
[SettingsExpander] Add FluentSettingsExpander - #5593
Open
Marvin Klein (MarvinKlein1508) wants to merge 24 commits into
Open
Marvin Klein (MarvinKlein1508) wants to merge 24 commits into
Marvin Klein (MarvinKlein1508) wants to merge 24 commits into
Conversation
Marvin Klein (MarvinKlein1508)
requested review from
Denis Voituron (dvoituron) and
Vincent Baaij (vnbaaij)
as code owners
November 4, 2026 09:45
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
Outstanding issues leave disabled expander descendants interactive, misplace switch and checkbox actions on narrow screens, and leave six demo controls without accessible names.
3 open issues
What changed in this PR
Introduces FluentSettingsExpander to the component library, providing Windows 11-style settings cards with optional actions, navigation and expandable content.
Changes:
- Adds component markup, bindable expansion state and responsive styling.
- Adds a core navigation icon and five documented usage examples.
- Adds unit tests for rendering, expansion, navigation, labels and disabled behavior.
| File | Description |
|---|---|
tests/Core/Components/SettingsExpander/FluentSettingsExpanderTests.razor |
Tests component rendering and interaction behavior. |
src/Core/Components/SettingsExpander/FluentSettingsExpander.razor.css |
Styles cards, nested rows and responsive layouts. |
src/Core/Components/SettingsExpander/FluentSettingsExpander.razor.cs |
Defines parameters and expansion handlers. |
src/Core/Components/SettingsExpander/FluentSettingsExpander.razor |
Renders headers, actions, navigation and panels. |
src/Core/Components/Icons/CoreIcons.cs |
Adds the core Open icon. |
examples/Demo/FluentUI.Demo.Client/Documentation/Components/SettingsExpander/FluentSettingsExpander.md |
Documents usage and embeds examples. |
examples/Demo/FluentUI.Demo.Client/Documentation/Components/SettingsExpander/Examples/SettingsExpanderVerbosity.razor |
Demonstrates dropdowns, sliders and nested settings. |
examples/Demo/FluentUI.Demo.Client/Documentation/Components/SettingsExpander/Examples/SettingsExpanderManageData.razor |
Demonstrates buttons, switches and navigation. |
examples/Demo/FluentUI.Demo.Client/Documentation/Components/SettingsExpander/Examples/SettingsExpanderExpandable.razor |
Demonstrates bound expansion and nested rows. |
examples/Demo/FluentUI.Demo.Client/Documentation/Components/SettingsExpander/Examples/SettingsExpanderDisabled.razor |
Demonstrates a disabled setting. |
examples/Demo/FluentUI.Demo.Client/Documentation/Components/SettingsExpander/Examples/SettingsExpanderDefault.razor |
Demonstrates a basic settings card. |
Review effort: Balanced
Denis Voituron (dvoituron)
requested changes
Nov 6, 2026
Marvin Klein (MarvinKlein1508)
requested a review
from Denis Voituron (dvoituron)
November 12, 2026 15:01
Vincent Baaij (vnbaaij)
approved these changes
Nov 21, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Pull Request
📖 Description
This PR introduces the new
FluentSettingsExpandercomponent, inspired by the expandable settings cards found in Windows 11 Settings.The component provides a modern, consistent way to display settings and configuration options using Fluent UI design principles.
Desktop:
Mobile:
Features
ChildContent, including two-way binding with@bind-Expanded.HrefandTargetproperties allow settings cards to function as navigation links.FluentIconfor consistent icon rendering.Documentation and Examples
Added component documentation and several interactive examples to the demo application, demonstrating different configurations and usage scenarios.
🎫 Issues
👩💻 Reviewer Notes
Please focus on the following areas during review:
ExpandedandExpandedChanged.Recommended smoke test:
SettingsExpandercomponent in the demo application.Href.📑 Test Plan
Unit Tests have been added. 100% coverage
✅ Checklist
General
Issue discussion declaration
Discuss changes before implementing them to confirm that the problem and proposed approach fit the project. See Discuss before implementing for the process and exceptions.
AI contribution declaration
AI assistance is allowed; fully AI-generated or autonomous pull requests without meaningful human review are not accepted. See the AI contribution policy.
Component-specific