Icon

Insert an SVG icon.

Last modified: September 17, 2026
error_outline The T2 Icon block is deprecated since version 8.32.0 when using WordPress 7.1 or newer. Please use the core Icon block instead. Only this block is deprecated — the T2 icons-package and its components (IconSelector, BlockIconSelector, etc.) are still used elsewhere in T2 and are not deprecated.

link Block name

t2/icon

link Properties (t2.json)

link

features

link Usage

<!-- wp:t2/icon {"icon":"person"} /-->
<!-- wp:t2/icon {"tagName":"span","icon":"arrowForward"} /-->
<!-- wp:t2/icon {"ariaLabel":"Some explanation for screen reader users…"} /-->