Skip to content

[menu] Support group labels in radio groups - #4826

Merged
atomiks merged 7 commits into
mui:masterfrom
nami8824:menu-radio-group-label
May 19, 2026
Merged

atomiks merged 7 commits into
mui:masterfrom
nami8824:menu-radio-group-label

Conversation

@nami8824

@nami8824 nami8824 commented May 15, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Allow Menu.GroupLabel to label Menu.RadioGroup.
  • Update the group labels docs and demos to show Menu.GroupLabel inside Menu.RadioGroup.
  • Update the related minified error message.

closes: #1725

@pkg-pr-new

pkg-pr-new Bot commented May 15, 2026 •

Copy link
Copy Markdown
  • base-ui-tanstack-start

  • vite-css-base-ui-example

    pnpm add https://pkg.pr.new/mui/base-ui/@base-ui/react@4826
    
    pnpm add https://pkg.pr.new/mui/base-ui/@base-ui/utils@4826
    

commit: 83477ce

@code-infra-dashboard

code-infra-dashboard Bot commented May 15, 2026 •

Copy link
Copy Markdown

Bundle size

Bundle Parsed size Gzip size
@base-ui/react 🔺+51B(+0.01%) 🔺+6B(0.00%)

Details of bundle changes

Performance

Total duration: 1,427.77 ms +138.96 ms(+10.8%) | Renders: 50 (+0) | Paint: 2,183.64 ms +207.70 ms(+10.5%)

Test Duration Renders
Tabs mount (200 instances) 301.90 ms 🔺+64.81 ms(+27.3%) 4 (+0)
Mixed surface mount (app-like density) 92.10 ms 🔺+23.47 ms(+34.2%) 5 (+0)
Select open (500 options) 54.90 ms 🔺+11.12 ms(+25.4%) 14 (+0)

9 tests within noise — details


Check out the code infra dashboard for more information about this PR.

@netlify

netlify Bot commented May 15, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for base-ui ready!

Name Link
🔨 Latest commit 83477ce
🔍 Latest deploy log https://app.netlify.com/projects/base-ui/deploys/6a0bf499758b8a000777d572
😎 Deploy Preview https://deploy-preview-4826--base-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@atomiks atomiks added the component: menu Changes related to the menu component. label May 18, 2026

@atomiks atomiks left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There was one bug with the workaround that needed to be preserved, but this looks correct.

Also simplified the context as a drive-by fix as it only needs setLabelId.

@github-actions github-actions Bot added the PR: out-of-date The pull request has merge conflicts and can't be merged. label May 18, 2026
@github-actions github-actions Bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged. label May 19, 2026
@atomiks
atomiks merged commit 5e0f3e7 into mui:master May 19, 2026
6 checks passed
mbrookes pushed a commit to mbrookes/base-ui that referenced this pull request May 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component: menu Changes related to the menu component.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[menu] Allow Menu.RadioGroup to be labelled by a Menu.GroupLabel

2 participants