Skip to content

A simple SVG icon library viewer containing over 47,100 individual icons for windows

License

Notifications You must be signed in to change notification settings

skamradt/SVGIconViewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SVGIconViewer v1.4

Picture of application UI

A simple windows based viewer containing over 47,100 individual SVG icons with the ability to copy and export individual icons for use in other projects. Two-tone ability was added to render icons using both the outline and filled versions where there is a match.

Exporting to PNG will optionally create additional scaled versions ready to be imported into a Delphi image collection.

Specifying a user folder will allow the system to create a TImageCollection component, allowing quick pasting into your project as converted PNG files.

This project includes icons from the Microsoft fluent UI System Icons, the tabler-icons and Bootstrap Icons public repositories. Please see the appopriate library for copyright and license information (currently all are MIT licensed).

Support

If you find SvgIconViewer useful, please give it a star.

Your support is greatly appreciated!

You can also support my work by buying me a coffee.

Installation

You can either download the source and compile using Delphi 12.0 or greater, OR download the latest release zip file and extract all contents to the location of your choosing.

Usage

The Icons along the top are

icon description
library When pressed with the mouse will display the list of collections available in the library.
outline When pressed will show the outlined icon subset in the collection. This is the only option available for the user specified folder option.
filled When pressed will show the filled icon subset in the collection
twotone When pressed will show the generated twotone icon subset in the collection based on icons which match in name in both the outline and filled subsets.
Fill, Tone, Back These buttons, when pressed will allow selecting the color for the appropriate section. Fill is either the stroke color for outline/twotone and the fill color for solid icons. Tone is the fill color for solid icons rendered in twotone mode. Back is the UI background color and is not stored in the SVG or PNG which will have a transparent background.
license Only available when a icon library collection is selected. When pressed will display the license for the current icon library collection.
generate Only available when a user directory is selected from the library. This button will generate a TImageCollection containing all images in the current directory as PNG files with the size specified from the config screen.
config When pressed will display some options available to the program.

Contributing

Contributions are welcome! If you have suggestions for improvements or find any issues, please open an issue or submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Dependencies

This project makes use of the TControlList component released in Delphi 10.4.2 as well as the Skia4Delphi released with Delphi 12. Because the program makes heavy use of multi-line string constants, the project requires Delphi 12.0 or better to build.

Release History

November 1, 2024 - 1.4

  • Updated Tabler-icon library to 3.21.0
  • Added new toolbar option to display the license for the selected icon set
  • Corrected issue where corrected two-tone icons would not show up in search
  • Applied several more two-tone corrections to the Tabler-Icon library

September 28, 2024 - 1.3

  • Updated Tabler-icon library to 3.19.0
  • Applied several two-tone corrections to Tabler-Icon library
  • Corrected alignment of dropdown menu for fill color
  • Adjusted minimum width constraint to take a full scaled toolbar into consideration

September 23, 2024 - 1.2.2

  • Restored default Windows style to the project to eliminate another dependency
  • Corrected various hints/warnings
  • Updated to better display the toolbar in high DPI modes
  • Updated license text to match standard

September 21, 2024 - 1.2.1

  • Updated generation to properly categorize a few filled bootstrap icons that were showing in the outline list.
  • Corrected issues where a few bootstrap icons were missing or did not align properly when rendered as Two Tone. This adds 118 icons to the bootstrap Two Tone list.
  • Changing to a different icon list will now clear the icon selection.

September 19, 2024 - 1.2

  • Replaced toolbar panels with TControlLists for a better UI experience.
  • Removed duplicate solid filled icons from the tabler-icons alternate strokes collections.
  • Removed reference to the spring library. It is no longer used to reduce dependencies.
  • Added count of icons at startup. This count does not include icons in the user specified folder.
  • Added the bootstrap icon library

September 18, 2024 - 1.1

  • Added ability to specify an additional user directory containing SVG files that will be loaded into the library collections for viewing and exporting. These icons will be displayed as is and fill color replacement will be performed on any "currentColor" color settings globally to the icon.
  • Added confirmation message when saving an SVG or PNG to a location where that filename already exists.
  • Added ability to create a TImageCollection from all images in the currently selected user folder.

September 16, 2024 - 1.0

  • Initial release

About

A simple SVG icon library viewer containing over 47,100 individual icons for windows

Topics

Resources

License

Stars

Watchers

Forks

Languages