Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
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
or mini
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 greatly reduce the size of your app by customizing the configuration.
You can customize defaults and available icons by adding a heroicons
configuration object to your application's environment.js
. As an example:
module.exports = function (environment) {
let ENV = {
// Add options here
heroicons: {
// default type to use if not specified to the HeroIcon component
defaultType: "mini",
// 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)
types: ["outline"],
},
};
// ...
return ENV;
};
See the Contributing guide for details.
This project is licensed under the MIT License.
0.1.1
FAQs
Heroicons for Ember.js
We found that ember-heroicons demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.