Window Text icon
Used to represent general windowed app scenarios. The Window Text 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 Window Text 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 { WindowText24Regular, WindowText24Filled } from "@fluentui/react-icons";
export function Example() {
return <WindowText24Regular aria-label="Window Text" />;
}Use it in HTML
Reference the SVG file directly:
<img src="https://fluenticons.co/icons/ic_fluent_window_text_24_regular.svg" width="24" height="24" alt="Window Text"> 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 6.25C3 4.45507 4.45507 3 6.25 3H17.75C19.5449 3 21 4.45507 21 6.25V17.75C21 19.5449 19.5449 21 17.75 21H6.25C4.45507 21 3 19.5449 3 17.75V6.25ZM4.5 7H19.5V6.25C19.5 5.2835 18.7165 4.5 17.75 4.5H6.25C5.2835 4.5 4.5 5.2835 4.5 6.25V7ZM19.5 8.5H4.5V17.75C4.5 18.7165 5.2835 19.5 6.25 19.5H17.75C18.7165 19.5 19.5 18.7165 19.5 17.75V8.5ZM6.75 10.5C6.33579 10.5 6 10.8358 6 11.25C6 11.6642 6.33579 12 6.75 12H17.25C17.6642 12 18 11.6642 18 11.25C18 10.8358 17.6642 10.5 17.25 10.5H6.75ZM6.75 13.25C6.33579 13.25 6 13.5858 6 14C6 14.4142 6.33579 14.75 6.75 14.75H12.75C13.1642 14.75 13.5 14.4142 13.5 14C13.5 13.5858 13.1642 13.25 12.75 13.25H6.75ZM15.75 13.25C15.3358 13.25 15 13.5858 15 14C15 14.4142 15.3358 14.75 15.75 14.75H17.25C17.6642 14.75 18 14.4142 18 14C18 13.5858 17.6642 13.25 17.25 13.25H15.75ZM6.75 16C6.33579 16 6 16.3358 6 16.75C6 17.1642 6.33579 17.5 6.75 17.5H8.25C8.66421 17.5 9 17.1642 9 16.75C9 16.3358 8.66421 16 8.25 16H6.75ZM11.25 16C10.8358 16 10.5 16.3358 10.5 16.75C10.5 17.1642 10.8358 17.5 11.25 17.5H17.25C17.6642 17.5 18 17.1642 18 16.75C18 16.3358 17.6642 16 17.25 16H11.25Z" 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/window_text_24_regular.svg";Details
| Name | Window Text |
|---|---|
| Styles | Regular (outlined), Filled |
| Size | 24 × 24 px (scalable SVG) |
| Regular (outlined) file | ic_fluent_window_text_24_regular.svg |
| Filled file | ic_fluent_window_text_24_filled.svg |
| React components | WindowText24Regular, WindowText24Filled |
| License | MIT (© Microsoft Corporation) |