Giter Club home page Giter Club logo

simple-icons-drawio's Introduction

Load all simple-icons brands directly to drawio.

Usage

Inside a drawio project, go to File -> Open library from -> URL and paste the next URL:

https://github.com/mondeja/simple-icons-drawio/releases/download/11.14.0/simple-icons.xml

โš ๏ธ Note that could take a few seconds to load.

You can also start a new project in diagrams.net with the simple-icons library loaded using this link:

https://app.diagrams.net/?splash=0&clibs=https%3A%2F%2Fgithub.com%2Fmondeja%2Fsimple-icons-drawio%2Freleases%2Fdownload%2F11.14.0%2Fsimple-icons.xml

Individual icons can be located using the shapes search tool:

Custom builds

Better library load times can be achieved customizing your build for a subset of icons.

  1. Clone the repository, move inside it and install dependencies:
git clone ssh://github.com/mondeja/simple-icons-drawio
cd simple-icons-drawio
npm install
  1. Redirect the output of the ./build.js script to a new XML file:
./build.js > simple-icons.xml

Use the next optional environment variables to filter the icons to include:

  • SI_DRAWIO_SLUGS_FILTER: Comma separated string of slugs to include in the build. See all slugs.
  • SI_DRAWIO_ALPHABET_FILTER: Comma separated string of letters of the alphabet. All the slugs starting with one of these letters will be included.

For example, next command will include the brands Deno, diagrams.net and Node.js:

SI_DRAWIO_SLUGS_FILTER=diagramsdotnet,simpleicons,deno,nodedotjs SI_DRAWIO_ALPHABET_FILTER=n,d ./build.js > simple-icons-subset.xml
  1. Inside a drawio project, go to File -> Open library from -> Device and select the created file.

simple-icons-drawio's People

Contributors

github-actions[bot] avatar mondeja avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

simple-icons-drawio's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.