A container component reacting to breakpoints on its own width or height, powered by ResizeObserver and scoped slots.
It is similar to things like vue-resize
in that you can use it to observe a component's size. However the ResponsiveContainer
will not emit any events, its whole point is to work as declaratively as possible, taking a predefined set of breakpoints you can access in your component.