Gaidin
Gaidin

Reputation: 1381

Is there anyway to use the clarity icons without the custom-elements polyfill?

All of the CSS in the @clr/icons and @clr/ui match on the element name clr-icon.

Is there anyway to use the icons without using the custom element web component?

Upvotes: 0

Views: 397

Answers (1)

hippeelee
hippeelee

Reputation: 1808

To use the icons as described in the documentation you need the poly fill. However the svg files for each of the icons is available in the source code If you wanted to craft a non custom-element solution.

The SVG’s are also available to download directly from the icons documentation page.

Just for my curiosity, can you elaborate on why custom-elements don’t work for you?

Upvotes: 1

Related Questions