
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
showcar-icons
Advanced tools
This module provides custom elements for simple inclusion of icons in your frontend project.
To install showcar-icons within your project use npm.
$ npm i --save showcar-icons
To make the custom elements available within you frontend, it is necessary to include some javascript (depending on your directory structure)
require("showcar-icons/dist/showcar-icons.min.js");
use the following to include an icon in your frontend:
<as24-icon type="t-online"></as24-icon> <as24-icon type="flag/de"></as24-icon>
All the available icons are placed within the icons folder, using subfolder is possible too.
If you want to use the icons without the showcar-ui library, you have to load a polyfill for custom elements first.
See https://cdnjs.com/libraries/document-register-element
<script src="//cdnjs.cloudflare.com/ajax/libs/document-register-element/0.5.4/document-register-element.js"></script>
If you only use showcar-icons you need to define the size of the icons with your own css code.
You can change the size of an svg by overriding css declarations.
Example:
as24-icon[type="navigation/car"] {
svg {
width: 42px;
height: 34px;
}
}
If you include showcar-ui, all as24-icons have a default size of 16px x 16px. In case you need a different size, just set it for the as24-icon, the svg will fit the size:
as24-icon[type="navigation/car"] {
width: 64px;
height: 64px;
}
We recommend to use inline icons if you need to include icons just on one single page. For further details see the docs and CSS-Tricks
If you need some additional icons within showcar-icons just add them to the icons folder or another subfolder. Afterwards it is necessary to create the showcar-icons.min.js again.
$ yarn build
To test your changes run, it will open docs page on port 8080
$ yarn start
MIT License
FAQs
Showcar Icons for Showcar projects
We found that showcar-icons demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.