Size="Compact"Size="Compact"<ThemeToggle />
<PaletteSwitcher />
<!-- Compact: dot/glyph only, for narrow header layouts -->
<ThemeToggle Size="FctControlSize.Compact" />
<PaletteSwitcher Size="FctControlSize.Compact" />
<ThemedArea Area="FactonThemeAreaVariant.Muted">
<FluentButton Appearance="ButtonAppearance.Outline">Muted-area button</FluentButton>
</ThemedArea><ThemedArea Area="Default"> — no vibrancy adjustment
--colorBrandForeground1<ThemedArea Area="Muted"> — reduced vibrancy, same hue/mode
--colorBrandForeground1Appearance, not a theme area
FactonThemeAreaVariant member — it is not a
hue/vibrancy characteristic, so it is expressed per-component via FluentUI's own
Appearance parameter instead (recorded decision, see
memory-bank/standards/decision-index.md).
FluentStack lays out children along one axis. Orientation switches
between a vertical column and a horizontal row, and VerticalGap/HorizontalGap
accept either a raw pixel number or a literal CSS value — e.g. a design-token
var(--spacingVertical*/--spacingHorizontal*) reference — for the gap between items.
<!-- Vertical stack: a column, gap applied as row-gap -->
<FluentStack Orientation="Orientation.Vertical" VerticalGap="var(--spacingVerticalS)">
<FluentButton Appearance="ButtonAppearance.Primary">First</FluentButton>
<FluentButton Appearance="ButtonAppearance.Outline">Second</FluentButton>
<FluentButton Appearance="ButtonAppearance.Subtle">Third</FluentButton>
</FluentStack>
<!-- Horizontal stack: a row, gap applied as column-gap -->
<FluentStack Orientation="Orientation.Horizontal" HorizontalGap="var(--spacingHorizontalS)"
VerticalAlignment="VerticalAlignment.Center">
<FluentButton Appearance="ButtonAppearance.Primary">First</FluentButton>
<FluentButton Appearance="ButtonAppearance.Outline">Second</FluentButton>
<FluentButton Appearance="ButtonAppearance.Subtle">Third</FluentButton>
</FluentStack>