Folder Swap icon
Used to represent collections of files. The Folder Swap icon is part of Microsoft's Fluent UI System Icons, available here in filled and regular (outlined) styles on a 24 px grid. Download it as SVG or PNG, or copy it as code — it's free to use under the MIT License.
Use the Folder Swap icon in React
Install Microsoft's @fluentui/react-icons package, then import the component. Icons inherit the current text color, and you can size them with CSS.
npm install @fluentui/react-icons
import { FolderSwap24Regular, FolderSwap24Filled } from "@fluentui/react-icons";
export function Example() {
return <FolderSwap24Regular aria-label="Folder Swap" />;
}Use it in HTML
Reference the SVG file directly:
<img src="https://fluenticons.co/icons/ic_fluent_folder_swap_24_regular.svg" width="24" height="24" alt="Folder Swap"> Or paste the SVG markup inline. Setting fill="currentColor" makes the icon follow the text color of its parent:
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M3.5 8V6.25C3.5 5.2835 4.2835 4.5 5.25 4.5H8.12868C8.32759 4.5 8.51836 4.57902 8.65901 4.71967L10.1893 6.25L8.65901 7.78033C8.51836 7.92098 8.32759 8 8.12868 8H3.5ZM5.25 3C3.45507 3 2 4.45507 2 6.25V17.75C2 19.5449 3.45507 21 5.25 21H12.5251L11.5126 19.9874C11.3667 19.8416 11.2519 19.6763 11.1683 19.5H5.25C4.2835 19.5 3.5 18.7165 3.5 17.75V9.5H8.12868C8.72542 9.5 9.29771 9.26295 9.71967 8.84099L11.5607 7H18.75C19.7165 7 20.5 7.7835 20.5 8.75V14.6683C20.6763 14.7519 20.8416 14.8667 20.9874 15.0126L22 16.0251V8.75C22 6.95507 20.5449 5.5 18.75 5.5H11.5607L9.71967 3.65901C9.29771 3.23705 8.72542 3 8.12868 3H5.25ZM15.7803 16.7803C16.0732 16.4874 16.0732 16.0126 15.7803 15.7197C15.4874 15.4268 15.0126 15.4268 14.7197 15.7197L12.2197 18.2197C11.9268 18.5126 11.9268 18.9874 12.2197 19.2803L14.7197 21.7803C15.0126 22.0732 15.4874 22.0732 15.7803 21.7803C16.0732 21.4874 16.0732 21.0126 15.7803 20.7197L14.5607 19.5H20.4393L19.2197 20.7197C18.9268 21.0126 18.9268 21.4874 19.2197 21.7803C19.5126 22.0732 19.9874 22.0732 20.2803 21.7803L22.7803 19.2803C23.0732 18.9874 23.0732 18.5126 22.7803 18.2197L20.2803 15.7197C19.9874 15.4268 19.5126 15.4268 19.2197 15.7197C18.9268 16.0126 18.9268 16.4874 19.2197 16.7803L20.4393 18H14.5607L15.7803 16.7803Z" fill="currentColor"/></svg>Use it from the SVG package
Microsoft's @fluentui/svg-icons package contains the raw SVG files, which works well with bundlers that import SVGs:
npm install @fluentui/svg-icons
import icon from "@fluentui/svg-icons/icons/folder_swap_24_regular.svg";Details
| Name | Folder Swap |
|---|---|
| Styles | Regular (outlined), Filled |
| Size | 24 × 24 px (scalable SVG) |
| Regular (outlined) file | ic_fluent_folder_swap_24_regular.svg |
| Filled file | ic_fluent_folder_swap_24_filled.svg |
| React components | FolderSwap24Regular, FolderSwap24Filled |
| License | MIT (© Microsoft Corporation) |