feat(react-headless-components-preview): scaffold the package and add first components#35931
Merged
dmytrokirpa merged 6 commits intomicrosoft:masterfrom Apr 13, 2026
Conversation
2da26f5 to
1502ffe
Compare
a0b20cb to
4118175
Compare
dmytrokirpa
commented
Mar 31, 2026
packages/react-components/react-base-components/library/docs/Spec.md
Outdated
Show resolved
Hide resolved
📊 Bundle size report
Unchanged fixtures
|
|
Pull request demo site: URL |
Hotell
reviewed
Apr 1, 2026
packages/react-components/react-base-components/library/src/testing/isConformant.ts
Outdated
Show resolved
Hide resolved
dc4296c to
8ced617
Compare
dmytrokirpa
commented
Apr 1, 2026
Contributor
|
we are having additional offline discussion regarding the package naming |
Contributor
Author
renamed to |
712e282 to
b42ce8f
Compare
… first components
b42ce8f to
7397728
Compare
Hotell
approved these changes
Apr 13, 2026
Contributor
Hotell
left a comment
There was a problem hiding this comment.
left some comments / questions
nothing blocking for kickoff , ty
packages/react-components/react-headless-components-preview/library/.babelrc.json
Outdated
Show resolved
Hide resolved
packages/react-components/react-headless-components-preview/library/.swcrc
Outdated
Show resolved
Hide resolved
packages/react-components/react-headless-components-preview/library/README.md
Outdated
Show resolved
Hide resolved
packages/react-components/react-headless-components-preview/library/src/index.ts
Outdated
Show resolved
Hide resolved
packages/react-components/react-headless-components-preview/library/src/index.ts
Outdated
Show resolved
Hide resolved
packages/react-components/react-headless-components-preview/library/src/index.ts
Show resolved
Hide resolved
packages/react-components/react-headless-components-preview/library/project.json
Show resolved
Hide resolved
...eact-components/react-headless-components-preview/library/src/components/Button/useButton.ts
Outdated
Show resolved
Hide resolved
...es/react-components/react-headless-components-preview/library/bundle-size/webpack.analyze.js
Outdated
Show resolved
Hide resolved
...t-components/react-headless-components-preview/library/src/utils/mapStateToDataAttributes.ts
Outdated
Show resolved
Hide resolved
mainframev
reviewed
Apr 13, 2026
...t-components/react-headless-components-preview/library/src/utils/mapStateToDataAttributes.ts
Outdated
Show resolved
Hide resolved
mainframev
approved these changes
Apr 13, 2026
e0791a0 to
b9bff75
Compare
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.
Summary
Introduces
@fluentui/react-headless-components-preview, an opt-in package that exposes Fluent UI v9 headless primitives and their core composition building blocks.This package is for teams building custom design systems that diverge from Fluent 2 visual styling. For most teams,
@fluentui/react-componentsremains the recommended default.Current API shape
Each exported component is available as:
use[Component]hookrender[Component]functionComponents currently exported
Accordion,AccordionItem,AccordionHeader,AccordionPaneluseAccordion,useAccordionItem,useAccordionHeader,useAccordionPanelrenderAccordion,renderAccordionItem,renderAccordionHeader,renderAccordionPaneluseAccordionContext,useAccordionContextValuesButtonuseButtonrenderButtonDivideruseDividerrenderDividerWhat this package provides
What this package does not provide
appearance,size,shape, etc.)Package/workspace updates
packages/react-components/react-headless-components-previewRelated issue