Skip to content

Use YCloud in Web

Not recommended for high traffic production use

This library exports each svg as basic strings. We have a more optimized library for web. Which is smaller in size and supports color, size and strokeWidth. See YCloud.

You can also import SVG strings in your web projects, with the @ycloud-web/icons-static package. Each icon is exported as a string containing the SVG markup, which can be used in client-side rendering.

<!doctype html>
<html>
  <body>
    <div id="app"></div>

    <script src="index.js"></script>
  </body>
</html>

Note: Each icon name is in PascalCase. You can find the icon names in the YCloud Icons page.

Released under the ISC License.