42 packages found
React component that render `<img>` with nicer interface
React component for image handling with object-fit
A polyfill for the background-image cover effect combined with responsive image behaviour with the `<img>` or `<picture>` element.
A React component that mimics `object-fit: cover`
Webkit sass ui module media wrapper.
A robust polyfill for the 'object-fit' and 'object-position' CSS-properties
Fits media elements (img, video). It polyfills CSS' object-fit: cover; If the browser supports object-fit, it will not run.
v-object-fit directive
CSS-like 'object-fit' and 'object-position' behavior for FabricJS.
A JavaScript plugin to contain an element within its parent element.
A jQuery object-fit polyfill for Internet Explorer and Edge
Generate utility classes for object-fit properties
Simple component to render a video background in Vue.js
An Eleventy Nunjucks shortcode to provide the functionality of generating an image's `object-position` value in order to keep the focal point in view.
Helper methods for HTML video playback
useElementFit is a React hook that allows you to measure and element's based on certain restraints, similar to object-fit in CSS.
Ionic 2 directive to provide an object-fit CSS polyfill
video fit component built with React. <br /> [demo](http://parsimonious-yarn.surge.sh)
Opensource scrollytelling components used by Straits Times Interactive Graphics Team