Gentleface › Audio & video › aspect-ratio
aspect-ratio icon
aspect-ratioAspect ratio: aspect ratio, proportions, screen ratio. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.
Animated aspect-ratio-reframe · line-round
The corners step in sideways and out vertically with the frame just behind them, stopping at a square and then at a portrait. They hold, re-frame to the landscape in one move, and settle.
Native SVG animation, with no CSS or script. It loops by itself. Inline it to take the text color: in an <img> it draws black. To play it once on hover or click, run 0.25 s to 2.6 s. Examples and helper.
Code line-round
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M14.414 12.414C14.219 12.609 13.993 12.758 13.736 12.86C13.5 12.953 13.254 13 13 13L3 13C2.746 13 2.5 12.953 2.264 12.86C2.007 12.758 1.781 12.609 1.586 12.414C1.391 12.219 1.242 11.993 1.14 11.736C1.047 11.5 1 11.254 1 11L1 5C1 4.746 1.047 4.5 1.14 4.264C1.242 4.007 1.391 3.781 1.586 3.586C1.781 3.391 2.007 3.242 2.264 3.14C2.5 3.047 2.746 3 3 3L13 3C13.254 3 13.5 3.047 13.736 3.14C13.993 3.242 14.219 3.391 14.414 3.586C14.609 3.781 14.758 4.007 14.86 4.264C14.953 4.5 15 4.746 15 5L15 11C15 11.254 14.953 11.5 14.86 11.736C14.758 11.993 14.609 12.219 14.414 12.414ZM2.293 11.707C2.488 11.902 2.724 12 3 12L13 12C13.276 12 13.512 11.902 13.707 11.707C13.902 11.512 14 11.276 14 11L14 5C14 4.724 13.902 4.488 13.707 4.293C13.512 4.098 13.276 4 13 4L3 4C2.724 4 2.488 4.098 2.293 4.293C2.098 4.488 2 4.724 2 5L2 11C2 11.276 2.098 11.512 2.293 11.707ZM5.856 5.144C5.952 5.241 6 5.359 6 5.5C6 5.641 5.952 5.759 5.856 5.856C5.759 5.952 5.641 6 5.5 6L4 6L4 7.5C4 7.641 3.952 7.759 3.856 7.856C3.759 7.952 3.641 8 3.5 8C3.359 8 3.241 7.952 3.144 7.856C3.048 7.759 3 7.641 3 7.5L3 6C3 5.724 3.098 5.488 3.293 5.293C3.488 5.098 3.724 5 4 5L5.5 5C5.641 5 5.759 5.048 5.856 5.144ZM12.707 10.707C12.512 10.902 12.276 11 12 11L10.5 11C10.359 11 10.241 10.952 10.144 10.856C10.048 10.759 10 10.641 10 10.5C10 10.359 10.048 10.241 10.144 10.144C10.241 10.048 10.359 10 10.5 10L12 10L12 8.5C12 8.359 12.048 8.241 12.144 8.144C12.241 8.048 12.359 8 12.5 8C12.641 8 12.759 8.048 12.856 8.144C12.952 8.241 13 8.359 13 8.5L13 10C13 10.276 12.902 10.512 12.707 10.707Z"/></svg>
// Gentleface "aspect-ratio" (line-round), MIT. https://gentleface.com/icons/aspect-ratio
import type { SVGProps } from 'react';
export function AspectRatioIcon(props: SVGProps<SVGSVGElement>) {
return (
<svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
<path d="M14.414 12.414C14.219 12.609 13.993 12.758 13.736 12.86C13.5 12.953 13.254 13 13 13L3 13C2.746 13 2.5 12.953 2.264 12.86C2.007 12.758 1.781 12.609 1.586 12.414C1.391 12.219 1.242 11.993 1.14 11.736C1.047 11.5 1 11.254 1 11L1 5C1 4.746 1.047 4.5 1.14 4.264C1.242 4.007 1.391 3.781 1.586 3.586C1.781 3.391 2.007 3.242 2.264 3.14C2.5 3.047 2.746 3 3 3L13 3C13.254 3 13.5 3.047 13.736 3.14C13.993 3.242 14.219 3.391 14.414 3.586C14.609 3.781 14.758 4.007 14.86 4.264C14.953 4.5 15 4.746 15 5L15 11C15 11.254 14.953 11.5 14.86 11.736C14.758 11.993 14.609 12.219 14.414 12.414ZM2.293 11.707C2.488 11.902 2.724 12 3 12L13 12C13.276 12 13.512 11.902 13.707 11.707C13.902 11.512 14 11.276 14 11L14 5C14 4.724 13.902 4.488 13.707 4.293C13.512 4.098 13.276 4 13 4L3 4C2.724 4 2.488 4.098 2.293 4.293C2.098 4.488 2 4.724 2 5L2 11C2 11.276 2.098 11.512 2.293 11.707ZM5.856 5.144C5.952 5.241 6 5.359 6 5.5C6 5.641 5.952 5.759 5.856 5.856C5.759 5.952 5.641 6 5.5 6L4 6L4 7.5C4 7.641 3.952 7.759 3.856 7.856C3.759 7.952 3.641 8 3.5 8C3.359 8 3.241 7.952 3.144 7.856C3.048 7.759 3 7.641 3 7.5L3 6C3 5.724 3.098 5.488 3.293 5.293C3.488 5.098 3.724 5 4 5L5.5 5C5.641 5 5.759 5.048 5.856 5.144ZM12.707 10.707C12.512 10.902 12.276 11 12 11L10.5 11C10.359 11 10.241 10.952 10.144 10.856C10.048 10.759 10 10.641 10 10.5C10 10.359 10.048 10.241 10.144 10.144C10.241 10.048 10.359 10 10.5 10L12 10L12 8.5C12 8.359 12.048 8.241 12.144 8.144C12.241 8.048 12.359 8 12.5 8C12.641 8 12.759 8.048 12.856 8.144C12.952 8.241 13 8.359 13 8.5L13 10C13 10.276 12.902 10.512 12.707 10.707Z" />
</svg>
);
}Vue: see /icons/aspect-ratio.md
Svelte: see /icons/aspect-ratio.md
HTML img: see /icons/aspect-ratio.md
CSS: see /icons/aspect-ratio.md
Data URL: see /icons/aspect-ratio.md
Sprite: see /icons/aspect-ratio.md
SwiftUI: see /icons/aspect-ratio.md
Compose: see /icons/aspect-ratio.md
Android XML: see /icons/aspect-ratio.md
Flutter: see /icons/aspect-ratio.md
Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.
With npm: import { AspectRatioIcon } from '@gentleface/react'; (setup).
Meaning
- Use it for
- aspect ratio, proportions, screen ratio
- Alternatives
- Tags
- aspect-ratio, ratio, proportions, frame, video, crop, size, dimensions
- Category
- Audio & video
- Component name
AspectRatioIcon- History
- added
- released in 0.1.0
- 20 px drawn, 24 px drawn
- Since
- version 0.1.0
More audio & video icons
album ambient-sound audio-lines audio-lines-off boombox cassette clapperboard clef-alto clef-bass clef-treble director-chair disc disc-off drum earbud-left earbud-right · all audio & video icons
For agents
Metadata: /icons/aspect-ratio.json · Markdown: /icons/aspect-ratio.md · SVG: https://gentleface.com/svg/{style}/16/aspect-ratio.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/aspect-ratio.png