Back to Explorer
16 - 512
0.5 - 4.0
Save to
actionoutline
md aspect ratio
Designed by Google Material
Developer Export Center
Code snippets update in real-time as you customize the playground.
const MdAspectRatioIcon = (props) => (
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
width="24"
height="24"
fill="none"
stroke="currentColor"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
{...props}
>
<path d="M0 0h24v24H0V0z" fill="none"/><path d="M19 12h-2v3h-3v2h5v-5zM7 9h3V7H5v5h2V9zm14-6H3c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16.01H3V4.99h18v14.02z"/>
</svg>
);SVG Optimizer
Before
0.37 KB
↓
After
0.37 KB
Tags
adjustaspectaspect ratiocropcustomdashdasheddimensionsdisplayeditenlargeexpandfitformatfullscreenheightimagelayoutmediamodifyorientationoriginalproportionratiorectangleresizescalescreensettingssizesquaretransformvideowidescreenwidth
Compare Alternatives
See how other libraries approach this concept.