Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

mstdmstd's avatar

Where to select icon from www.w3.org/2000/svg ?

In laravel 8.83 app I have some icons defined like :

        <a
            class="sidebar__nav-item {{ request()->routeIs('page') ? 'sidebar__nav-item_active' : '' }}"
            href="{{ route('page') }}"
            title="{{ trans('Page') }}"
        >
            <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
                <path
                    d="M10.0001 10C12.7615 10 15.0001 7.76142 15.0001 5C15.0001 2.23858 12.7615 0 10.0001 0C7.2387 0 5.00012 2.23858 5.00012 5C5.00012 7.76142 7.2387 10 10.0001 10Z"
                />
                <path
                    d="M10.0001 11.25C4.11262 11.25 0.00012207 14.3337 0.00012207 18.75V20H20.0001V18.75C20.0001 14.335 15.8889 11.25 10.0001 11.25Z"
                />
            </svg>
        </a>

I need to add similar “News” icon. Where can I get list of all accessible icons ? Checking composer.json file I do not see any additive libraries used...

0 likes
2 replies
kokoshneta's avatar

What do you mean by “all accessible icons”? This is simple inline SVG. You can use any SVG you want as an icon. The reference to the W3C website has nothing to do with the icon, that’s just the XML namespace used for SVG content.

Please or to participate in this conversation.