# `` Use it for responsive design, renders only the first child that matches query against the current available width of this element. It is similar to [``](./WindowWidthQuery.md), but instead of using the browser window width, it detects the available inline width of the current element. ## Usage ```jsx import {InlineWidthQuery} from 'libreact/lib/InlineWidthQuery'; import {View} from 'libreact/lib/View'; Up to 300px More than 300px ``` `` is simply a shortcut for ```jsx {({width}) =>
{/* Your queries here... */}
}
```