Gentleface › Photo & image › camera-rotate
camera-rotate icon
camera-rotateCamera rotate: switch camera, flip camera, camera switch, selfie camera. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.
Animated camera-rotate-flip · line-round
The camera turns around on its vertical axis: the body narrows edge-on and opens again, and its arrows come out pointing the other way. It holds on the far side, then turns back the same way.
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.3 s to 2.15 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="M5.439 2.854C5.713 2.58 6.028 2.37 6.385 2.222C6.742 2.074 7.114 2 7.5 2L8.5 2C8.886 2 9.258 2.074 9.615 2.222C9.972 2.37 10.287 2.58 10.561 2.854L11.146 3.439C11.326 3.619 11.533 3.757 11.767 3.854C12.002 3.951 12.246 4 12.5 4L13 4C13.254 4 13.5 4.047 13.736 4.14C13.993 4.242 14.219 4.391 14.414 4.586C14.609 4.781 14.758 5.007 14.86 5.264C14.953 5.5 15 5.746 15 6L15 12C15 12.254 14.953 12.5 14.86 12.736C14.758 12.993 14.609 13.219 14.414 13.414C14.219 13.609 13.993 13.758 13.736 13.86C13.5 13.953 13.254 14 13 14L3 14C2.746 14 2.5 13.953 2.264 13.86C2.007 13.758 1.781 13.609 1.586 13.414C1.391 13.219 1.242 12.993 1.14 12.736C1.047 12.5 1 12.254 1 12L1 6C1 5.746 1.047 5.5 1.14 5.264C1.242 5.007 1.391 4.781 1.586 4.586C1.781 4.391 2.007 4.242 2.264 4.14C2.5 4.047 2.746 4 3 4L3.5 4C3.754 4 3.998 3.951 4.233 3.854C4.467 3.757 4.674 3.619 4.854 3.439L5.439 2.854ZM2.293 12.707C2.488 12.902 2.724 13 3 13L13 13C13.276 13 13.512 12.902 13.707 12.707C13.902 12.512 14 12.276 14 12L14 6C14 5.724 13.902 5.488 13.707 5.293C13.512 5.098 13.276 5 13 5L12.5 5C12.114 5 11.742 4.926 11.385 4.778C11.028 4.63 10.713 4.42 10.439 4.146L9.854 3.561C9.674 3.381 9.467 3.243 9.233 3.146C8.998 3.049 8.754 3 8.5 3L7.5 3C7.246 3 7.002 3.049 6.767 3.146C6.533 3.243 6.326 3.381 6.146 3.561L5.561 4.146C5.287 4.42 4.972 4.63 4.615 4.778C4.258 4.926 3.886 5 3.5 5L3 5C2.724 5 2.488 5.098 2.293 5.293C2.098 5.488 2 5.724 2 6L2 12C2 12.276 2.098 12.512 2.293 12.707ZM12.003 7.5C12.003 7.636 11.953 7.754 11.854 7.854L9.854 9.854C9.754 9.953 9.636 10.003 9.5 10.003C9.364 10.003 9.246 9.953 9.146 9.854C9.047 9.754 8.997 9.636 8.997 9.5C8.997 9.364 9.047 9.246 9.146 9.146L10.293 8L7.5 8C7.359 8 7.241 7.952 7.144 7.856C7.048 7.759 7 7.641 7 7.5C7 7.359 7.048 7.241 7.144 7.144C7.241 7.048 7.359 7 7.5 7L10.293 7L9.146 5.854C9.049 5.756 9 5.638 9 5.5C9 5.362 9.049 5.244 9.146 5.146C9.246 5.047 9.364 4.997 9.5 4.997C9.636 4.997 9.754 5.047 9.854 5.146L11.854 7.146C11.953 7.246 12.003 7.364 12.003 7.5ZM4.707 9L7.5 9C7.641 9 7.759 9.048 7.856 9.144C7.952 9.241 8 9.359 8 9.5C8 9.641 7.952 9.759 7.856 9.856C7.759 9.952 7.641 10 7.5 10L4.707 10L5.854 11.146C5.953 11.246 6.003 11.364 6.003 11.5C6.003 11.636 5.953 11.754 5.854 11.854C5.756 11.951 5.638 12 5.5 12C5.362 12 5.244 11.951 5.146 11.854L3.146 9.854C3.047 9.754 2.997 9.636 2.997 9.5C2.997 9.364 3.047 9.246 3.146 9.146L5.146 7.146C5.246 7.047 5.364 6.997 5.5 6.997C5.636 6.997 5.754 7.047 5.854 7.146C5.953 7.246 6.003 7.364 6.003 7.5C6.003 7.636 5.953 7.754 5.854 7.854L4.707 9Z"/></svg>
// Gentleface "camera-rotate" (line-round), MIT. https://gentleface.com/icons/camera-rotate
import type { SVGProps } from 'react';
export function CameraRotateIcon(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="M5.439 2.854C5.713 2.58 6.028 2.37 6.385 2.222C6.742 2.074 7.114 2 7.5 2L8.5 2C8.886 2 9.258 2.074 9.615 2.222C9.972 2.37 10.287 2.58 10.561 2.854L11.146 3.439C11.326 3.619 11.533 3.757 11.767 3.854C12.002 3.951 12.246 4 12.5 4L13 4C13.254 4 13.5 4.047 13.736 4.14C13.993 4.242 14.219 4.391 14.414 4.586C14.609 4.781 14.758 5.007 14.86 5.264C14.953 5.5 15 5.746 15 6L15 12C15 12.254 14.953 12.5 14.86 12.736C14.758 12.993 14.609 13.219 14.414 13.414C14.219 13.609 13.993 13.758 13.736 13.86C13.5 13.953 13.254 14 13 14L3 14C2.746 14 2.5 13.953 2.264 13.86C2.007 13.758 1.781 13.609 1.586 13.414C1.391 13.219 1.242 12.993 1.14 12.736C1.047 12.5 1 12.254 1 12L1 6C1 5.746 1.047 5.5 1.14 5.264C1.242 5.007 1.391 4.781 1.586 4.586C1.781 4.391 2.007 4.242 2.264 4.14C2.5 4.047 2.746 4 3 4L3.5 4C3.754 4 3.998 3.951 4.233 3.854C4.467 3.757 4.674 3.619 4.854 3.439L5.439 2.854ZM2.293 12.707C2.488 12.902 2.724 13 3 13L13 13C13.276 13 13.512 12.902 13.707 12.707C13.902 12.512 14 12.276 14 12L14 6C14 5.724 13.902 5.488 13.707 5.293C13.512 5.098 13.276 5 13 5L12.5 5C12.114 5 11.742 4.926 11.385 4.778C11.028 4.63 10.713 4.42 10.439 4.146L9.854 3.561C9.674 3.381 9.467 3.243 9.233 3.146C8.998 3.049 8.754 3 8.5 3L7.5 3C7.246 3 7.002 3.049 6.767 3.146C6.533 3.243 6.326 3.381 6.146 3.561L5.561 4.146C5.287 4.42 4.972 4.63 4.615 4.778C4.258 4.926 3.886 5 3.5 5L3 5C2.724 5 2.488 5.098 2.293 5.293C2.098 5.488 2 5.724 2 6L2 12C2 12.276 2.098 12.512 2.293 12.707ZM12.003 7.5C12.003 7.636 11.953 7.754 11.854 7.854L9.854 9.854C9.754 9.953 9.636 10.003 9.5 10.003C9.364 10.003 9.246 9.953 9.146 9.854C9.047 9.754 8.997 9.636 8.997 9.5C8.997 9.364 9.047 9.246 9.146 9.146L10.293 8L7.5 8C7.359 8 7.241 7.952 7.144 7.856C7.048 7.759 7 7.641 7 7.5C7 7.359 7.048 7.241 7.144 7.144C7.241 7.048 7.359 7 7.5 7L10.293 7L9.146 5.854C9.049 5.756 9 5.638 9 5.5C9 5.362 9.049 5.244 9.146 5.146C9.246 5.047 9.364 4.997 9.5 4.997C9.636 4.997 9.754 5.047 9.854 5.146L11.854 7.146C11.953 7.246 12.003 7.364 12.003 7.5ZM4.707 9L7.5 9C7.641 9 7.759 9.048 7.856 9.144C7.952 9.241 8 9.359 8 9.5C8 9.641 7.952 9.759 7.856 9.856C7.759 9.952 7.641 10 7.5 10L4.707 10L5.854 11.146C5.953 11.246 6.003 11.364 6.003 11.5C6.003 11.636 5.953 11.754 5.854 11.854C5.756 11.951 5.638 12 5.5 12C5.362 12 5.244 11.951 5.146 11.854L3.146 9.854C3.047 9.754 2.997 9.636 2.997 9.5C2.997 9.364 3.047 9.246 3.146 9.146L5.146 7.146C5.246 7.047 5.364 6.997 5.5 6.997C5.636 6.997 5.754 7.047 5.854 7.146C5.953 7.246 6.003 7.364 6.003 7.5C6.003 7.636 5.953 7.754 5.854 7.854L4.707 9Z" />
</svg>
);
}Vue: see /icons/camera-rotate.md
Svelte: see /icons/camera-rotate.md
HTML img: see /icons/camera-rotate.md
CSS: see /icons/camera-rotate.md
Data URL: see /icons/camera-rotate.md
Sprite: see /icons/camera-rotate.md
SwiftUI: see /icons/camera-rotate.md
Compose: see /icons/camera-rotate.md
Android XML: see /icons/camera-rotate.md
Flutter: see /icons/camera-rotate.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 { CameraRotateIcon } from '@gentleface/react'; (setup).
Meaning
- Use it for
- switch camera, flip camera, camera switch, selfie camera
- Alternatives
smartphone-rotate: rotate the screen orientation (rotate-screen)
- Also fits
- rotate screen: switch between the front and back camera (switch-camera)
- Tags
- camera, switch, flip, rotate, front, rear, selfie
- Category
- Photo & image
- Component name
CameraRotateIcon- History
- added
- released in 0.1.0
- 20 px drawn, 24 px drawn
- Since
- version 0.1.0
Family 12
More photo & image icons
aperture background-remove background-remove-stripes background-replace blur blur-circular blur-linear blur-motion blur-off bolt-auto collage color-filter color-filter-off color-filter-sparkle droplet-half exposure · all photo & image icons
For agents
Metadata: /icons/camera-rotate.json · Markdown: /icons/camera-rotate.md · SVG: https://gentleface.com/svg/{style}/16/camera-rotate.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/camera-rotate.png