Hover the icon or press Play. Suggested motion: spin. Pick another to preview it and update the animated code:
Rotate To Portrait icon
A free rotate to portrait icon from Flat Color Icons, ready for React. Use it static or animated: both versions are below, copy-paste or one shadcn command away. Sized in em and colored by currentColor.
- License
- MIT license
- Project
- github.com
npx shadcn@latest add https://ui.cuelark.com/r/icons/flat-color/rotate-to-portrait.jsonimport * as React from "react";
/**
* Rotate To Portrait from Flat Color Icons (https://github.com/icons8/flat-color-icons), MIT.
* Via Cuelark UI: ui.cuelark.com/icons/flat-color/rotate-to-portrait. Sized in em, colored by currentColor.
*/
export function FcRotateToPortraitIcon(props: React.SVGProps<SVGSVGElement>) {
return (
<svg
aria-hidden="true"
version="1"
viewBox="0 0 48 48"
enableBackground="new 0 0 48 48"
stroke="currentColor"
fill="currentColor"
strokeWidth="0"
width="1em"
height="1em"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<path
fill="#37474F"
d="M41,38H7c-2.2,0-4-1.8-4-4V14c0-2.2,1.8-4,4-4h34c2.2,0,4,1.8,4,4v20C45,36.2,43.2,38,41,38z"
/>
<path
fill="#F3E5F5"
d="M6,14v20c0,0.6,0.4,1,1,1h34c0.6,0,1-0.4,1-1V14c0-0.6-0.4-1-1-1H7C6.4,13,6,13.4,6,14z"
/>
<polygon fill="#9C27B0" points="26,15 20.1,22 31.9,22" />
<path
fill="#9C27B0"
d="M24,21v6c0,1.1-0.9,2-2,2s-2-0.9-2-2v-2h-4v2c0,3.3,2.7,6,6,6s6-2.7,6-6v-6H24z"
/>
</svg>
);
}import { FcRotateToPortrait } from "react-icons/fc";
export function Example() {
return <FcRotateToPortrait className="size-5" />;
}<svg
version="1"
viewBox="0 0 48 48"
enable-background="new 0 0 48 48"
stroke="currentColor"
fill="currentColor"
stroke-width="0"
width="1em"
height="1em"
xmlns="http://www.w3.org/2000/svg"
>
<path
fill="#37474F"
d="M41,38H7c-2.2,0-4-1.8-4-4V14c0-2.2,1.8-4,4-4h34c2.2,0,4,1.8,4,4v20C45,36.2,43.2,38,41,38z"
/>
<path
fill="#F3E5F5"
d="M6,14v20c0,0.6,0.4,1,1,1h34c0.6,0,1-0.4,1-1V14c0-0.6-0.4-1-1-1H7C6.4,13,6,13.4,6,14z"
/>
<polygon fill="#9C27B0" points="26,15 20.1,22 31.9,22" />
<path
fill="#9C27B0"
d="M24,21v6c0,1.1-0.9,2-2,2s-2-0.9-2-2v-2h-4v2c0,3.3,2.7,6,6,6s6-2.7,6-6v-6H24z"
/>
</svg>"Rotate To Portrait" icon from Flat Color Icons (https://github.com/icons8/flat-color-icons), licensed under MIT license.