`@tanstack/react-virtual` added peer deps support for React 19 in [v3.11.0](https://github.com/TanStack/virtual/releases/tag/v3.11.0) (https://github.com/TanStack/virtual/pull/893) This PR upgrades the packages. This can resolve some warnings on some React 19 projects, e.g.: ``` npm warn ERESOLVE overriding peer dependency npm warn While resolving: @tanstack/react-virtual@3.10.9 npm warn Found: react@19.0.0 npm warn node_modules/react npm warn peer react@"^18 || ^19 || ^19.0.0-rc" from @headlessui/react@2.2.0 npm warn node_modules/@headlessui/react npm warn @headlessui/react@"^2.2.0" from the root project npm warn 15 more (@floating-ui/react, @floating-ui/react-dom, ...) npm warn npm warn Could not resolve dependency: npm warn peer react@"^16.8.0 || ^17.0.0 || ^18.0.0" from @tanstack/react-virtual@3.10.9 npm warn node_modules/@headlessui/react/node_modules/@tanstack/react-virtual npm warn @tanstack/react-virtual@"^3.8.1" from @headlessui/react@2.2.0 npm warn node_modules/@headlessui/react npm warn npm warn Conflicting peer dependency: react@18.3.1 npm warn node_modules/react npm warn peer react@"^16.8.0 || ^17.0.0 || ^18.0.0" from @tanstack/react-virtual@3.10.9 npm warn node_modules/@headlessui/react/node_modules/@tanstack/react-virtual npm warn @tanstack/react-virtual@"^3.8.1" from @headlessui/react@2.2.0 npm warn node_modules/@headlessui/react npm warn ERESOLVE overriding peer dependency npm warn While resolving: @tanstack/react-virtual@3.10.9 npm warn Found: react-dom@19.0.0 npm warn node_modules/react-dom npm warn peer react-dom@"^18 || ^19 || ^19.0.0-rc" from @headlessui/react@2.2.0 npm warn node_modules/@headlessui/react npm warn @headlessui/react@"^2.2.0" from the root project npm warn 5 more (@floating-ui/react, @floating-ui/react-dom, ...) npm warn npm warn Could not resolve dependency: npm warn peer react-dom@"^16.8.0 || ^17.0.0 || ^18.0.0" from @tanstack/react-virtual@3.10.9 npm warn node_modules/@headlessui/react/node_modules/@tanstack/react-virtual npm warn @tanstack/react-virtual@"^3.8.1" from @headlessui/react@2.2.0 npm warn node_modules/@headlessui/react npm warn npm warn Conflicting peer dependency: react-dom@18.3.1 npm warn node_modules/react-dom npm warn peer react-dom@"^16.8.0 || ^17.0.0 || ^18.0.0" from @tanstack/react-virtual@3.10.9 npm warn node_modules/@headlessui/react/node_modules/@tanstack/react-virtual npm warn @tanstack/react-virtual@"^3.8.1" from @headlessui/react@2.2.0 npm warn node_modules/@headlessui/react ```
Headless UI
A set of completely unstyled, fully accessible UI components, designed to integrate beautifully with Tailwind CSS.
Documentation
For full documentation, visit headlessui.com.
Installing the latest version
You can install the latest version by using:
npm install @headlessui/react@latestnpm install @headlessui/vue@latest
Installing the insiders version
You can install the insiders version (which points to whatever the latest commit on the main branch is) by using:
npm install @headlessui/react@insidersnpm install @headlessui/vue@insiders
Note: The insiders build doesn't follow semver and therefore doesn't guarantee that the APIs will be the same once they are released.
Packages
| Name | Version | Downloads |
|---|---|---|
@headlessui/react |
||
@headlessui/vue |
||
@headlessui/tailwindcss |
Community
For help, discussion about best practices, or any other conversation that would benefit from being searchable:
For casual chit-chat with others using the library:
Join the Tailwind CSS Discord Server
Contributing
If you're interested in contributing to Headless UI, please read our contributing docs before submitting a pull request.