Export size24px

 

App.jsx
import { FormatSquare } from "fmicon-react";

<FormatSquare size={24} variant="duotone" strokeWidth={1} />

Props

PropTypeDefaultDescription
sizenumber | string24Width and height in pixels
variant"linear" | "bold" | …linearAny of the 8 styles, plus glass-light for light backgrounds
colorstringcurrentColorAny CSS colour; inherits the text colour by default
strokeWidthnumber1.5Line weight for linear, twotone, broken and duotone
...propsSVG attributes–className, aria-label, onClick and the rest

How to Use the Format Square Icon

The format square icon belongs to the grid set, and people recognise it quickly in layout switches, dashboards and view toggles. Use it where the action or state it shows needs to be clear at a glance, and pair it with a short text label the first time it appears, so nobody has to guess.

The duotone style adds a hint of colour while staying a clean line icon. If it is the only thing inside a button, add an aria-label such as "Format Square" so screen readers can name it. Keep the tap area at least 44 px on touch screens, and let it inherit your text colour so it follows light, dark and hover states automatically.