Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@easypost/easy-ui-icons
Advanced tools
Easy UI Icons is a package containing the icons that experiences can use to build on the EasyPost platform, and contains SVG files in the `svg` directory.
Easy UI Icons is a package containing the icons that experiences can use to build on the EasyPost platform, and contains SVG files in the svg
directory.
Easy UI Icons generally uses a subset of Material Symbols.
Set: Material Symbols
Style: Outlined
Fill: 0
Weight: 300
Grade: Normal
Size: 48dp
Although it’s possible to use this package directly, we recommend using the icons in this package through Easy UI React in combination with the Icon
component.
Install Easy UI React (instructions) if you haven’t already.
Install Easy UI Icons as a dependency:
Using npm:
npm install @easypost/easy-ui-icons --save
Import the Icon
component from Easy UI React and any icon from Easy UI Icons into your project.
Import the icon component from Easy UI React:
import Icon from "@easypost/easy-ui/Icon";
Import an icon from Easy UI Icons:
import CheckCircleIcon from "@easypost/easy-ui-icons/CheckCircle";
Pass the imported Easy UI icon to the symbol
prop of the Icon
component:
<Icon symbol={CheckCircleIcon} />
Icons imported as illustrated above will assume a weight of 300. To import an icon with a different weight, add the weight as a suffix to the path.
import Icon400 from "@easypost/easy-ui/Icon400";
For projects that don’t use React and need the raw SVG, icons are available as *.svg
files in the svg
folder.
import svgFile from "@easypost/easy-ui-icons/svg/Info.svg";
Command | Runs |
---|---|
npm run build | Builds the icons project |
npm run clean | Removes temp directories |
npm run dev | Builds the icons project on file changes |
Add icons to the src/
folder. Easy UI Icons supports custom SVG files and JSON files referencing Material Symbol configurations.
All icons in src/
are transpiled to React components and re-exported as raw SVGs on build.
Add a new Material Symbol icon by specifying a named JSON file with a Material Symbols configuration.
Check.json
:
{
"name": "check",
"style": "outlined",
"source": "@material-symbols/svg-300"
}
To add a new Material Symbol icon with a weight other than 300, update the above to reflect it as so; using a weight of 400 as an example:
Check400.json
:
{
"name": "check",
"style": "outlined",
"source": "@material-symbols/svg-400"
}
FAQs
Easy UI Icons is a package containing the icons that experiences can use to build on the EasyPost platform, and contains SVG files in the `svg` directory.
The npm package @easypost/easy-ui-icons receives a total of 64 weekly downloads. As such, @easypost/easy-ui-icons popularity was classified as not popular.
We found that @easypost/easy-ui-icons demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.