Rectangle Portrait icon
The Rectangle Portrait 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 Rectangle Portrait 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 { RectanglePortrait24Regular, RectanglePortrait24Filled } from "@fluentui/react-icons";
export function Example() {
return <RectanglePortrait24Regular aria-label="Rectangle Portrait" />;
}Use it in HTML
Reference the SVG file directly:
<img src="https://fluenticons.co/icons/ic_fluent_rectangle_portrait_24_regular.svg" width="24" height="24" alt="Rectangle Portrait"> 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="M7.25 22C5.45507 22 4 20.5449 4 18.75V5.25C4 3.45507 5.45507 2 7.25 2H16.75C18.5449 2 20 3.45507 20 5.25V18.75C20 20.5449 18.5449 22 16.75 22H7.25ZM5.5 18.75C5.5 19.7165 6.2835 20.5 7.25 20.5H16.75C17.7165 20.5 18.5 19.7165 18.5 18.75V5.25C18.5 4.2835 17.7165 3.5 16.75 3.5H7.25C6.2835 3.5 5.5 4.2835 5.5 5.25V18.75Z" 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/rectangle_portrait_24_regular.svg";Details
| Name | Rectangle Portrait |
|---|---|
| Styles | Regular (outlined), Filled |
| Size | 24 × 24 px (scalable SVG) |
| Regular (outlined) file | ic_fluent_rectangle_portrait_24_regular.svg |
| Filled file | ic_fluent_rectangle_portrait_24_filled.svg |
| React components | RectanglePortrait24Regular, RectanglePortrait24Filled |
| License | MIT (© Microsoft Corporation) |