Giter Club home page Giter Club logo

get-svg-icons's Introduction

Get Svg Icons

View icons from bootstrap's icon library and insert them into your code through snippets.

Installation

Features

Side Panel with customizable icons

  • Side Panel with around 1300+ icons
  • Users can search for the icon-name (or tags associated with it) and choose the desired icon
  • On clicking on the icon, corresponding svg code will be inserted at the last active position on the code editor
  • Users can change the height and width of the svg directly from the side panel demo

Inline Icon suggestions

  • Type "icon-" (without quotes) to start auto-completing icons. If the icon preview is not showing up (as shown in the GIF below), press Ctrl+Space (default hotkey) or press the ">" icon to expand the details view.
  • An inline replacement of the selected icon with its svg will be done. demo

Icon preview on hover

  • On hovering over the svg code (class name) , you can preview the icon of the corresponding svg snippet

Built with:

  • Typescript
  • VS Code API
  • Python for web-scraping

Extension Settings

To customize languages we support for inline snippet completion, icon-color and icon-size for hover preview

  • Navigate to extension settings
  • Choose Extension Settings
  • From here, you can customize getSvgIcons.iconColor, getSvgIcons.iconSize and getSvgIcons.selector

Icon source

Prefixes

Prefix SVG Icons Version
icon- Bootstrap Icons 1.0

Contributors

How to run locally?

  • Clone the repository

    git clone https://github.com/Open-Sourced-Olaf/Get-svg-icons.git

  • Install node dependencies with npm install

  • Open project with VS Code

  • Press F5 or run Launch Extension in the debug window or run npm run compile

How to contribute?

Take a look at the contribution guidelines and open a new issue or pull request on GitHub.

Release Notes

1.0.0

Initial release of the extension


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.