Back to Fluentui

OverflowSetOverview

packages/react-examples/src/react/OverflowSet/docs/OverflowSetOverview.md

4.40.2-hotfix2667 B
Original Source

The OverflowSet is a flexible container component that is useful for displaying a primary set of content with additional content in an overflow callout. Note that the example below is only an example of how to render the component, not a specific use case.

Accessibility

By default, the OverflowSet is simply role=group. If used as an application menu, CommandBar with overflowItems is a better choice than OverflowSet, since it includes the correct semantics and keyboard handling. When OverflowSet is used on its own, any context-specific semantics (e.g. role="menu", role="nav") and interaction (e.g. arrow keys) will need to be manually added.