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.0 , built from c93e21f on 3.2.0 by pipeline #2919741884 on 2026-10-06.