Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
As defined by the W3C:
A toolbar is a container for grouping a set of controls, such as buttons, menu buttons, or checkboxes.
When a set of controls is visually presented as a group, the toolbar role can be used to communicate the presence and purpose of the grouping to screen reader users. Grouping controls into toolbars can also be an effective way of reducing the number of tab stops in the keyboard interface.
fluent-toolbar
Setup
import {
provideFluentDesignSystem,
fluentToolbar
} from "@fluentui/web-components";
provideFluentDesignSystem()
.register(
fluentToolbar()
);
Create your own design
import {
Toolbar,
toolbarTemplate as template,
} from "@fluentui/fast-foundation";
import { toolbarStyles as styles } from "./my-toolbar.styles";
export const myToolbar = Toolbar.compose({
baseName: "toolbar",
template,
styles,
shadowOptions: {
delegatesFocus: true,
},
});
Example
Please see the Blazor documentation and demo site for more information.