Transparency Square icon
Used in photo and design editing modes. The Transparency Square 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 Transparency Square 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 { TransparencySquare24Regular, TransparencySquare24Filled } from "@fluentui/react-icons";
export function Example() {
return <TransparencySquare24Regular aria-label="Transparency Square" />;
}Use it in HTML
Reference the SVG file directly:
<img src="https://fluenticons.co/icons/ic_fluent_transparency_square_24_regular.svg" width="24" height="24" alt="Transparency Square"> 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="M6.25 3C4.45507 3 3 4.45507 3 6.25V17.75C3 19.5449 4.45507 21 6.25 21H17.75C19.5449 21 21 19.5449 21 17.75V6.25C21 4.45507 19.5449 3 17.75 3H6.25ZM4.5 6.25C4.5 5.2835 5.2835 4.5 6.25 4.5H8V8H4.5V6.25ZM4.5 12H8V8H12V4.5H16V8H19.5V12H16V16H19.5V17.75C19.5 18.7165 18.7165 19.5 17.75 19.5H16V16H12V19.5H8V16H4.5V12ZM12 12V8H16V12H12ZM12 12H8V16H12V12Z" 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/transparency_square_24_regular.svg";Details
| Name | Transparency Square |
|---|---|
| Styles | Regular (outlined), Filled |
| Size | 24 × 24 px (scalable SVG) |
| Regular (outlined) file | ic_fluent_transparency_square_24_regular.svg |
| Filled file | ic_fluent_transparency_square_24_filled.svg |
| React components | TransparencySquare24Regular, TransparencySquare24Filled |
| License | MIT (© Microsoft Corporation) |