Skip to content
react-container-query

Alternatives to react-container-query

200 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-imgix

    Launch

    react-imgix is a set of React components for showing images served through imgix. You pass it an imgix image and it renders a responsive img, picture or background element, building the srcset and sizes attributes so the browser can pick a

More like react-container-query

7
R

react-resizable-and-movable

Resizable and movable component for React

Launch
8
R

react-lazy-load

Simple lazy loading component built with react

Launch
9
R

react-visibility-sensor

Sensor component for React that notifies you

Launch
10
R

react-stack-grid

Pinterest like layout components for React.js

Launch
11
E

@egjs/react-infinitegrid

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

Launch
12
R

react-custom-scroll

Easily customize the browser scroll bar with native OS scroll behavior

Launch
13
R

react-scroll

React scroll component

Launch
14
R

react-waypoint

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

Launch
15
R

react-animate-height

Lightweight React component for animating height using CSS transitions

Launch
16
R

react-resizable-layout

Lightweight, accessible headless React component and hook

Launch
17
R

react-inner-image-zoom

A React component for magnifying an image within its parent container

Launch
18
R

react-textfit

React component to fit headlines and paragraphs into any element

Launch
19
R

react-list

A versatile infinite scroll React component

Launch
20
R

react-responsive-carousel

React Responsive Carousel

Launch
21
R

react-lazy-load-image-component

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

Launch
22
R

@rc-component/portal

React Portal Component

Launch
23
R

react-infinite-scroll-hook

A simple hook to create infinite scroll components

Launch
24
R

react-infinite

A browser-ready efficient scrolling container based on UITableView

Launch
25
R

react-scrollbar

ScrollArea component for react

Launch
26
R

react-window

React components for efficiently rendering large lists and tabular data

Launch
27
R

@rexxars/react-split-pane

React split-pane component

Launch
28
R

react-css-collapse

Component-wrapper for collapse animation with css for elements

Launch
29
R

react-collapse

Component-wrapper for collapse animation for elements with variable

Launch
30
R

react-infinite-scroll-component

Infinite scroll component for React

Launch
31
R

react-headroom

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

Launch
32
R

react-sticky

Sticky component for React

Launch
33
R

react-scroll-trigger

React component tied to scroll events

Launch
34
R

react-photo-album

Responsive photo gallery component for React

Launch
35
I

@itwin/itwinui-layouts-react

iTwinUI package that provides React components for most common layouts

Launch
36
R

react-fast-marquee

A lightweight React component

Launch
37
R

react-scrollchor

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

Launch
38
R

react-input-autosize

Auto-resizing Input Component for React

Launch
39
R

react-contexify

Add contextmenu to your react component with ease

Launch
40
R

react-stickynode

A performant and comprehensive React sticky

Launch
41
R

react-modal

Accessible modal dialog component for React

Launch
42
R

react-collapsible

React component to wrap content in Collapsible element

Launch
43
R

react-lazyload

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

Launch
44
R

react-virtualized

React components for efficiently rendering large lists and tabular data

Launch
45
R

react-horizontal-scrolling-menu

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

Launch
46
R

react-native-responsive-fontsize

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

Launch
47
R

react-textarea-autosize

component for React which grows with content

Launch
48
R

react-text-truncate

Truncate text for React.js

Launch
49
R

react-responsive-pagination

React component for responsive pagination

Launch
50
R

react-custom-scrollbars

React scrollbars 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