Free alternatives to react-container-query
200 free apps like react-container-query, closest match first.
Top picks
- R

react-height
Launchreact-height is a component wrapper for React that measures the height of the elements inside it and reports that height to your code. You wrap one or more children in the component, and it calls your onHeightReady callback when the height
- R

react-resizable-box
Launchre-resizable, which is listed here as react-resizable-box, is a resizable component for React. You wrap content in it and the user can drag its edges or corners to change its width and height. The component accepts a default size, or a cont
Open source
- R
react-resize-aware
LaunchA React hook that makes it possible to listen to element resize events.
- R

responsive-patterns
GetA skill for AI coding agents that applies modern responsive design to React applications. It covers Container Queries, fluid typography with cqi and cqb units, subgrid, intrinsic layouts, foldable device layouts and mobile-first strategies.
- R

react-on-screen
Launchreact-on-screen is a small React wrapper component that reports whether its children are visible on the screen. It watches the viewport and sets a flag when the wrapped component scrolls into view, which makes it useful for lazy loading ima
- R

react-resizable-and-movable
Launchreact-resizable-and-movable is a React component for a box that can be both resized and dragged. You wrap your content in the component and the user can move it around and change its width and height with the mouse. The README covers instal
Open source
More like react-container-query

@egjs/react-infinitegrid
A module used to arrange card elements including content infinitely on a grid

react-inner-image-zoom
A React component for magnifying an image within its parent container

react-lazy-load-image-component
React Component to lazy load images using a HOC to track window scroll position

@itwin/itwinui-layouts-react
iTwinUI package that provides React components for most common layouts

react-lazyload
Lazyload your Component, Image or anything else where the performance matters
react-horizontal-scrolling-menu
Horizontal scrolling menu component for React with per-item visibility tracking

react-native-responsive-fontsize
Simple method for resposive fontSize based on screen-size of the device in
About react-container-query

react-container-query
Container Query for React Component
React Container Query is a React library for responsive components that react to the size of their container rather than the window. Its README calls it true modularity in styling responsive components. The package offers a useContainerQuery hook that takes a query and an optional initial size, and a ContainerQuery component that takes the same query and an initialSize with width and height. The hook can measure a native DOM element, such as a div or span, used as the container. If the container is a React component, the README explains that the component must forward its ref to the DOM element it renders, using React.forwardRef, because a React component itself cannot be measured. The README includes a disclaimer that the code is provided under an open source license by contributors acting in a personal capacity. Installation is covered by a package command shown in the README, and the API section documents both the hook and the component.
- Price
- Free
- Made by
- daiweilu
- Category
- UI Libraries
- Website
- github.com/react-container-query/react-container-query





























