Cloudflare LogoNavigate Back
Cloudflare Style
Cloudflare Style is in Alpha and is a work-in-progress. Expect changes. Contact DESSYS with any questions.
Guides
Icons

Updating Icons

Clone the product-design repository

This repository contains all the source files for what will eventually end up in component-icon. New icons are added in the /icons/icons-exports directory.

git clone ssh://bitbucket.cfdata.org:7999/design/product-design.git

Exporting from Figma

  • Ensure that the SVG Export plugin is installed.
  1. Select the artboards for the icons you're exporting and using the menu, go to Plugins > SVG Export.

Select the artboard then File, Plugins, and SVG Export.

  1. From the SVG Export window, use the component-icon preset and select Export All.

    • The icons you've selected for exporting will show up in the SVG Export window.
    • Use the component-icon preset to make sure you're exporting using our custom settings.

The SVG Export window will show the artboard.

Note — The following options from the preset should be disabled:

  • Layer names as classes
  • Use currentColor as fill
  • Remove opacity
  • Remove stroke
  • Remove fill-rule
  • Move defs to top
  • Remove XMLNS
  • Remove viewBox
  • Reuse duplicate paths
  1. The icons are now on your computer.

    • Navigate to the folder your icons were downloaded to. You'll be adding it to the product-design repository.

The icons are available in your downloads folder.

Preparing the repository

  • Add to /icons/icons-exports directory
  • Updating .zip file All exported icons are also in the product-icons-svgs.zip file. Take all the icons in your icons-exports folder and compress them in a .zip file. Name that file product-icons-svgs.zip to replace the existing .zip file under icons/icons-exports/zips.

See also

  • ↑ Top
  • Clone the product-design repository
  • Exporting from Figma
  • Preparing the repository
  • See also

  • LinkedIn
  • Facebook
  • Twitter
  • GitHub
  • YouTube

Cloudflare LogoNavigate back
  • © 2021 Cloudflare, Inc.
  • About Cloudflare
  • Careers
  • Terms of Use
  • Disclosure
  • Trademark