Compose icon
Used for directional indicators, links. Contains directional variants. The Compose 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 Compose 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 { Compose24Regular, Compose24Filled } from "@fluentui/react-icons";
export function Example() {
return <Compose24Regular aria-label="Compose" />;
}Use it in HTML
Reference the SVG file directly:
<img src="https://fluenticons.co/icons/ic_fluent_compose_24_regular.svg" width="24" height="24" alt="Compose"> 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="M13.25 4.00003C13.6642 4.00003 14 4.33582 14 4.75003C13.9999 5.1642 13.6642 5.50003 13.25 5.50003H6.25C5.2835 5.50003 4.5 6.28353 4.5 7.25003V17.75C4.50005 18.7165 5.28353 19.5 6.25 19.5H16.75C17.7165 19.5 18.4999 18.7165 18.5 17.75V10.75C18.5 10.3358 18.8358 10 19.25 10C19.6642 10 20 10.3358 20 10.75V17.75C19.9999 19.5449 18.5449 21 16.75 21H6.25C4.4551 21 3.00005 19.5449 3 17.75V7.25003C3 5.4551 4.45507 4.00003 6.25 4.00003H13.25ZM19.7197 3.21976C20.0126 2.92687 20.4874 2.92687 20.7803 3.21976C21.0731 3.51265 21.0732 3.98742 20.7803 4.2803L10.5908 14.4697L9 15L9.53027 13.4092L19.7197 3.21976Z" 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/compose_24_regular.svg";Details
| Name | Compose |
|---|---|
| Styles | Regular (outlined), Filled |
| Size | 24 × 24 px (scalable SVG) |
| Regular (outlined) file | ic_fluent_compose_24_regular.svg |
| Filled file | ic_fluent_compose_24_filled.svg |
| React components | Compose24Regular, Compose24Filled |
| License | MIT (© Microsoft Corporation) |