v3.2.1
Patch release that externalizes react-aria from the @heroui/react bundle and fixes SwitchGroup horizontal layout.
June 17, 2026
Patch release: @heroui/react no longer bundles its own copy of react-aria. The react-aria subpaths are now externalized in the Rollup build, so they resolve to the version installed in your project — preventing a duplicated, vendored copy of react-aria from shipping inside @heroui/react. This release also fixes SwitchGroup horizontal layout by rendering the missing switch-group__items wrapper.
Installation
Update to the latest version:
npm
```bash
npm i @heroui/styles@latest @heroui/react@latest
```
pnpm
```bash
pnpm add @heroui/styles@latest @heroui/react@latest
```
yarn
```bash
yarn add @heroui/styles@latest @heroui/react@latest
```
bun
```bash
bun add @heroui/styles@latest @heroui/react@latest
```
Using AI assistants? Simply prompt "Hey Cursor, update HeroUI to the latest version" and your AI assistant will automatically compare versions and apply the necessary changes. Learn more about the HeroUI MCP Server.
Bug Fixes
- @heroui/react: Externalize the
react-ariasubpaths in the Rollup build alongside the other@react-*andreact-aria-componentsexternals, so@heroui/reactno longer vendors its own copy ofreact-aria. Consumers now resolve to the singlereact-ariainstalled in their project, avoiding duplicate-instance bugs and unnecessary bundle bloat (#6653). - SwitchGroup: Render the missing
switch-group__itemswrapper soorientation="horizontal"lays out switches in a row instead of stacking vertically (#6655).
Links
Contributors
Thanks to everyone who contributed to this release!
Local source: vendor/en/react/releases/v3-2-1.mdx
Generated from the pinned HeroUI v3 commit with internal links and previews adapted for JGuang.
v3.2.0v3.2.0
Calendar week/day views and year picker on React Aria 1.18, plus breaking Radio, Checkbox, and Switch composition changes.基于 React Aria 1.18 的 Calendar 周/日视图与年份选择器,以及 Radio、Checkbox、Switch 的破坏性组合方式变更。
v3.2.2v3.2.2
Patch release that upgrades React Aria to 1.19.0, adds overflow scrolling to Tabs.ListContainer, and fixes accidental form submission from clear/close buttons and overflow scroll from visually hidden inputs.补丁版本:将 React Aria 升级到 1.19.0,为 Tabs.ListContainer 添加溢出滚动,并修复清除/关闭按钮意外提交表单以及视觉隐藏输入框导致溢出滚动的问题。