Skip to content

zk-msr ​

Renders a Material Symbols icon as <span class="msr">icon_name</span>.

Props ​

PropTypeDefaultDescription
classstring|nullnullAdditional CSS class(es) — merged with the base msr class

Examples ​

Basic icon ​

blade
<x-zk-msr>home</x-zk-msr>
{{-- renders: <span class="msr">home</span> --}}

With additional class ​

blade
<x-zk-msr class="icon-lg">settings</x-zk-msr>
{{-- renders: <span class="msr icon-lg">settings</span> --}}

Notes ​

  • The msr base class is always present and cannot be removed.
  • Requires the Material Symbols font to be loaded in the consuming application.

Documentation of 3.2.7 , built from 7415dae on 3.2.7 by pipeline #3081600448 on 2026-11-17.