
Security News
Risky Biz Podcast: Making Reachability Analysis Work in Real-World Codebases
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
ember-heroicons
Advanced tools
This addon provides access to the heroicons SVG icons within your Ember applications.
ember install ember-heroicons
The basic usage:
<HeroIcon @icon="check-circle" />
The HeroIcon
component supports the following arguments:
@icon
- the name of the icon to render@type
- one of outline
, solid
, mini
or micro
By default, all icons for all types will be available within your application. Additionally, the default icon type
, if not specified, will be outline
.
If you know you will only be using a subset of icons, then you can reduce the size of your app by customizing the configuration.
You can customize defaults and available icons by adding a ember-heroicons
configuration object to your application's ember-cli-build.js
and environment.js
files. As an example:
// ember-cli-build.js
module.exports = function (defaults) {
let app = new EmberApp(defaults, {
// instruct ember-heroicons to include/omit specific icons/sets
"ember-heroicons": {
// default type to use if not specified to the HeroIcon component
defaultType: "outline",
// omit matching icons (array of string or RegExp)
omit: [/chevron/, "camera"],
// include only certain matching icons (array of string or RegExp)
include: [/.*/],
// include only certain types (outline, solid, mini, micro)
types: ["outline"],
},
});
return app.toTree();
};
// environment.js
module.exports = function (environment) {
let ENV = {
// at runtime, if no type is given, you can specify which type to use
"ember-heroicons": {
// default type to use if not specified to the HeroIcon component
// this takes precedence over the value provided in ember-cli-build.js
defaultType: "mini",
},
};
// ...
return ENV;
};
See the Contributing guide for details.
This project is licensed under the MIT License.
0.5.0
FAQs
Heroicons for Ember.js
The npm package ember-heroicons receives a total of 5 weekly downloads. As such, ember-heroicons popularity was classified as not popular.
We found that ember-heroicons 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.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.