fluentui
fluentui copied to clipboard
Adds Fluent Toolbar Web Component
Fluent Toolbar Web Component
What Toolbar Does
This is a bucket for buttons, icon buttons, dropdown buttons, split buttons, input, search field, divider.
orientation:verticalorhorizontal(default)size:small,medium(default),large. This does not apply when vertical.
What Toolbar Does Not
Items present in the Fluent UI Figma (MVP) but not implemented. These will be added in the next Sprint:
- Responsive toolbar which implements a More menu and ellipses
- Multiple toolbar groups server as tab stops within the toolbar
Storybook Screenshot
Asset size changes
Size Auditor did not detect a change in bundle size for any component!
Baseline commit: 07f3fe5fc625defc06f6ec5376a4ec96c2816e01 (build)
This pull request is automatically built and testable in CodeSandbox.
To see build info of the built libraries, click here or the icon next to each commit SHA.
Latest deployment of this branch, based on commit 5977cc5f5d820c10595c1d63fa8a38679af1ddb3:
| Sandbox | Source |
|---|---|
| @fluentui/react 8 starter | Configuration |
| @fluentui/react-components 9 starter | Configuration |
🕵 FluentUI-web-components No visual regressions between this PR and main
I just received a notice that the direction attribute on the Toolbar should handle RTL. I have not yet tested this. We will have a separate discussion about the use of direction vs the platform dir attribute in web components.
I just received a notice that the
directionattribute on the Toolbar should handle RTL. I have not yet tested this. We will have a separate discussion about the use ofdirectionvs the platformdirattribute in web components.
@levithomason I provided a Storybook example of both LTR and RTL.