COMPARISON · UI COMPONENTS

@floating-ui/react vs. @radix-ui/themes

Side-by-side comparison · 9 metrics · 14 criteria

@floating-ui/react v0.27.20 · MIT
Weekly Downloads
35.3M
Stars
32.8K
Gzip Size
36.8 kB
License
MIT
Last Updated
8mo ago
Open Issues
95
Forks
1.7K
Unpacked Size
934.3 kB
Dependencies
8
@radix-ui/themes v3.3.0 · MIT
Weekly Downloads
1.6M
Stars
8.9K
Gzip Size
82.9 kB
License
MIT
Last Updated
9mo ago
Open Issues
167
Forks
349
Unpacked Size
4.9 MB
Dependencies
N/A
DOWNLOAD TRENDS

@floating-ui/react vs @radix-ui/themes downloads · last 12 months

Download trends for @floating-ui/react and @radix-ui/themes2 download series from Nov 2025 to Oct 2026. Use left and right arrow keys to inspect monthly values.030.3M60.6M90.9M121.2MNov 2025FebMayAugOct 2026
@floating-ui/react
@radix-ui/themes
FEATURE COMPARISON

Criteria · @floating-ui/react vs @radix-ui/themes

Primary Scope
@floating-ui/react
Focused on floating behavior and positioning for React interfaces
@radix-ui/themes
Broader themed React UI kit and design-system foundation
Learning Focus
@floating-ui/react
Learn floating interaction and positioning composition
@radix-ui/themes
Learn the package's theme and component vocabulary
Migration Scope
@floating-ui/react
Can remain a focused behavior layer in custom components
@radix-ui/themes
Adoption can entail shifting toward themed components
Bundle Footprint
@floating-ui/react ✓
Smaller listed gzip bundle at 36.8 kB
@radix-ui/themes
Larger listed gzip bundle at 82.9 kB for broader scope
Composition Model
@floating-ui/react
Compose floating behavior into custom React components
@radix-ui/themes
Adopt components designed to fit a theme system
Design-System Fit
@floating-ui/react
Fits projects retaining an existing visual system
@radix-ui/themes
Fits projects seeking a shared theme and component language
Package Footprint
@floating-ui/react ✓
Smaller unpacked footprint at 934.3 kB
@radix-ui/themes
Larger unpacked footprint at 4.9 MB
Positioning Features
@floating-ui/react ✓
Directly targets positioning for popovers, tooltips, and dropdowns
@radix-ui/themes
Positioning sits within a wider themed component offering
Accessibility Emphasis
@floating-ui/react
Supplied package details emphasize positioning and floating interactions
@radix-ui/themes ✓
Accessibility is explicitly part of its stated focus
Customization Approach
@floating-ui/react
Customize surrounding markup and presentation around focused behavior
@radix-ui/themes
Customize within a broader themed component framework
Use for Custom Popovers
@floating-ui/react ✓
Purpose-built focus for custom popover behavior
@radix-ui/themes
Better aligned when popovers are part of a themed UI adoption
Ecosystem Adoption Signal
@floating-ui/react ✓
Higher reported weekly downloads, stars, and forks
@radix-ui/themes
Lower reported counts across those indicators
Themed Component Coverage
@floating-ui/react
Leaves visual component design largely to the application
@radix-ui/themes ✓
Provides a themed component vocabulary and shared UI foundation
Use for UI Standardization
@floating-ui/react
Does not supply a broad theme system in the provided description
@radix-ui/themes ✓
Designed around themes, colors, and a component-library approach
VERDICT

@floating-ui/react is focused on the mechanics of floating interfaces: positioning and interaction for elements such as tooltips, popovers, and dropdowns. Its narrow purpose suits React developers who want to build those behaviors into their own components and retain control over markup and visual design, rather than adopt a full themed component set.

@radix-ui/themes is a React UI kit centered on ready-to-use, themeable interface components and a shared design system. It is aimed at teams seeking a consistent visual foundation and component vocabulary, including color and theme development, rather than only a positioning engine; its broader scope can reduce the amount of interface styling and composition a team must create itself.

Their central architectural distinction is the level of abstraction. @floating-ui/react provides positioning and interaction primitives that developers compose into their own popover or tooltip implementations, whereas @radix-ui/themes supplies themed components intended to be used as part of a coherent UI system. In practice, the former makes floating behavior the building block and leaves more presentation decisions to the application; the latter makes the themed component the starting point.

That difference also shapes extension and rendering. With @floating-ui/react, a team can integrate the floating behavior into custom component structure and tailor the surrounding interface, which is useful when an existing design system has its own markup and appearance. @radix-ui/themes offers a more integrated route to themed UI elements, but its 4.9 MB unpacked footprint and larger 82.9 kB gzip bundle reflect a broader package than @floating-ui/react’s 934.3 kB unpacked and 36.8 kB gzip; these figures do not by themselves determine the cost of every application setup.

The learning curve follows the same trade-off. @floating-ui/react asks developers to think about positioning and interaction as behavior to compose, so it is a more direct fit when they already have component conventions and want to implement floating elements within them. @radix-ui/themes gives a more complete component and theme vocabulary, but teams need to learn how that vocabulary and its design-system approach fit their application; the supplied data does not specify differences in TypeScript support, tooling, or debugging, so those should be checked against the intended implementation.

For bundle-conscious interfaces that need only floating behavior, @floating-ui/react has the smaller listed gzip bundle at 36.8 kB, compared with 82.9 kB for @radix-ui/themes. The smaller figure is a useful selection signal for a focused tooltip or popover feature, while the larger figure may be justified when the application will use the broader themed component offering; package-level gzip figures alone are not a guarantee of final application size or runtime performance.

Choose @floating-ui/react when the concrete requirement is precise positioning and interaction for custom dropdowns, popovers, or tooltips, especially when the application already owns its visual system. Choose @radix-ui/themes when the requirement is a coordinated set of themed React UI components and the team values adopting that shared design foundation; selecting it solely for positioning would bring a broader scope than the focused alternative.

The migration paths are not direct substitutes: moving from @floating-ui/react to @radix-ui/themes changes the project from composing floating behavior into custom interfaces to adopting themed components, while moving the other way means taking responsibility for more of the interface composition and appearance. The supplied data identifies both as MIT-licensed React packages but does not establish API compatibility, server-rendering behavior, or long-term maintenance guarantees, so teams should verify those details before planning a migration or committing to a system-wide adoption.

For niche cases, the decisive question is whether positioning is the product requirement or one part of a wider themed UI. @floating-ui/react’s positioning-focused topics and substantially higher reported usage make it the more targeted choice for floating interaction work, while @radix-ui/themes’ accessibility, color, and design-system focus points toward broader interface standardization. Neither package’s listed metrics alone settles fit: the component model that matches the application’s design constraints should drive the decision.

CORRECTIONS

Spot wrong data here?

A short note helps us fix it.

Anonymous · No account · No email back

RELATED COMPARISONS 8
@ark-ui/react vs @floating-ui/react ★ 38.3K · 36.7M/wk @chakra-ui/react vs @floating-ui/react ★ 73.6K · 37.7M/wk @floating-ui/react vs @headlessui/react ★ 61.7K · 45.4M/wk @floating-ui/react vs @mui/material ★ 132.2K · 50.1M/wk @floating-ui/react vs jsuites ★ 33.3K · 35.5M/wk @floating-ui/react vs antd ★ 133.2K · 40.6M/wk @floating-ui/react vs @mantine/core ★ 64.8K · 39.0M/wk @chakra-ui/react vs @radix-ui/themes ★ 49.6K · 4.0M/wk