Skip to content
react-container-query

Free alternatives to react-container-query

200 free apps like react-container-query, closest match first.

Top picks

  1. R

    react-height

    Launch

    react-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

  2. R

    react-resizable-box

    Launch

    re-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

  3. R

    react-resize-aware

    Launch

    A React hook that makes it possible to listen to element resize events.

  4. R

    responsive-patterns

    Get

    A 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.

  5. R

    react-on-screen

    Launch

    react-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

  6. R

    react-resizable-and-movable

    Launch

    react-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

7
R

react-lazy-load

Simple lazy loading component built with react

Launch
8
R

react-visibility-sensor

Sensor component for React that notifies you

Launch
9
R

react-stack-grid

Pinterest like layout components for React.js

Launch
10
E

@egjs/react-infinitegrid

A module used to arrange card elements including content infinitely on a grid

Launch
11
R

react-scroll

React scroll component

Launch
12
R

react-waypoint

A React component to execute a function whenever you scroll to an element

Launch
13
R

react-animate-height

Lightweight React component for animating height using CSS transitions

Launch
14
R

react-resizable-layout

Lightweight, accessible headless React component and hook

Launch
15
R

react-inner-image-zoom

A React component for magnifying an image within its parent container

Launch
16
R

react-textfit

React component to fit headlines and paragraphs into any element

Launch
17
R

react-list

A versatile infinite scroll React component

Launch
18
R

react-responsive-carousel

React Responsive Carousel

Launch
19
R

react-lazy-load-image-component

React Component to lazy load images using a HOC to track window scroll position

Launch
20
R

@rc-component/portal

React Portal Component

Launch
21
R

react-infinite-scroll-hook

A simple hook to create infinite scroll components

Launch
22
R

react-infinite

A browser-ready efficient scrolling container based on UITableView

Launch
23
R

react-scrollbar

ScrollArea component for react

Launch
24
R

@rexxars/react-split-pane

React split-pane component

Launch
25
R

react-css-collapse

Component-wrapper for collapse animation with css for elements

Launch
26
R

react-collapse

Component-wrapper for collapse animation for elements with variable

Launch
27
R

react-infinite-scroll-component

Infinite scroll component for React

Launch
28
R

react-headroom

Hide your header until you need it. React.js port of headroom.js

Launch
29
R

react-sticky

Sticky component for React

Launch
30
R

react-scroll-trigger

React component tied to scroll events

Launch
31
R

react-photo-album

Responsive photo gallery component for React

Launch
32
I

@itwin/itwinui-layouts-react

iTwinUI package that provides React components for most common layouts

Launch
33
R

react-fast-marquee

A lightweight React component

Launch
34
R

react-scrollchor

A React component for scrolling to #hash links with smooth animations

Launch
35
R

react-input-autosize

Auto-resizing Input Component for React

Launch
36
R

react-contexify

Add contextmenu to your react component with ease

Launch
37
R

react-modal

Accessible modal dialog component for React

Launch
38
R

react-collapsible

React component to wrap content in Collapsible element

Launch
39
R

react-lazyload

Lazyload your Component, Image or anything else where the performance matters

Launch
40
R

react-virtualized

React components for efficiently rendering large lists and tabular data

Launch
41
R

react-horizontal-scrolling-menu

Horizontal scrolling menu component for React with per-item visibility tracking

Launch
42
R

react-native-responsive-fontsize

Simple method for resposive fontSize based on screen-size of the device in

Launch
43
R

react-text-truncate

Truncate text for React.js

Launch
44
R

react-responsive-pagination

React component for responsive pagination

Launch
45
R

react-custom-scrollbars

React scrollbars component

Launch
46
R

react-static-container

Renders static content efficiently by allowing React

Launch
47
R

react-paginate

A ReactJS component that creates a pagination

Launch
48
R

react-sidebar

A sidebar component for React

Launch
49
R

react-easy-panzoom

Wrapper to enable pan and zoom for any React component

Launch
50
R

react-photo-gallery

Responsive Justified React Image Gallery Component

Launch

About react-container-query

R

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